Branch: Tag:

2018-08-05

2018-08-05 10:04:47 by Marcus Comstedt <marcus@mc.pp.se>

Runtime: Move pike_frame.flags to improve alignment of num_locals

The ARM machine code backends expect num_locals and num_args to be
packed into a 32-bit aligned space.

90:    * locals). */    unsigned INT16 *save_locals_bitmask;    -  unsigned INT16 flags; /** PIKE_FRAME_* */ +     /**    * This tells us the current level of svalues on the stack that can    * be discarded once the current function is done with them. It is an offset
100:    INT16 num_args; /** Number of argument variables. */       INT32 args; /** Actual number of arguments passed to the function. */ +  +  unsigned INT16 flags; /** PIKE_FRAME_* */ +     /**    * This is an offset from locals and denotes the place where the return value    * should go.