Record vararg expressions with varargs defined off-trace.

Add SLOAD variant to access the frame type/size.
This commit is contained in:
Mike Pall
2010-09-13 01:17:38 +02:00
parent e32f7d96c1
commit 847b9cf253
5 changed files with 102 additions and 48 deletions

View File

@@ -189,10 +189,11 @@ IRFLDEF(FLENUM)
} IRFieldID;
/* SLOAD mode bits, stored in op2. */
#define IRSLOAD_INHERIT 1 /* Inherited by exits/side traces. */
#define IRSLOAD_READONLY 2 /* Read-only, omit slot store. */
#define IRSLOAD_PARENT 4 /* Coalesce with parent trace. */
#define IRSLOAD_TYPECHECK 8 /* Needs type check. */
#define IRSLOAD_INHERIT 0x01 /* Inherited by exits/side traces. */
#define IRSLOAD_READONLY 0x02 /* Read-only, omit slot store. */
#define IRSLOAD_PARENT 0x04 /* Coalesce with parent trace. */
#define IRSLOAD_TYPECHECK 0x08 /* Needs type check. */
#define IRSLOAD_FRAME 0x10 /* Load hiword of frame. */
/* XLOAD mode, stored in op2. */
#define IRXLOAD_READONLY 1 /* Load from read-only data. */