Decouple SLOAD type and optional conversion.

This commit is contained in:
Mike Pall
2010-10-11 21:13:37 +02:00
parent cc62edebfd
commit b3cf2c70f4
5 changed files with 36 additions and 26 deletions

View File

@@ -190,11 +190,12 @@ IRFLDEF(FLENUM)
} IRFieldID;
/* SLOAD mode bits, stored in op2. */
#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. */
#define IRSLOAD_PARENT 0x01 /* Coalesce with parent trace. */
#define IRSLOAD_FRAME 0x02 /* Load hiword of frame. */
#define IRSLOAD_TYPECHECK 0x04 /* Needs type check. */
#define IRSLOAD_CONVERT 0x08 /* Number to integer conversion. */
#define IRSLOAD_READONLY 0x10 /* Read-only, omit slot store. */
#define IRSLOAD_INHERIT 0x20 /* Inherited by exits/side traces. */
/* XLOAD mode, stored in op2. */
#define IRXLOAD_READONLY 1 /* Load from read-only data. */