Fix CPP oops

This commit is contained in:
Demi Obenour 2016-03-16 20:49:29 -04:00
parent ac7d3c4ec3
commit 441485274c

View File

@ -529,8 +529,9 @@ typedef uint32_t TRef;
*/
typedef union IRIns {
#if LJ_GC64
#error not yet implemented
struct {
#ifdef LJ_GC64
uint32_t padding; /* Ensures that gcr/ptr overlap with the proper fields */
#endif
struct {
@ -553,7 +554,9 @@ typedef union IRIns {
)
};
int32_t i; /* 32 bit signed integer literal (overlaps op12). */
#if LJ_GC64
};
#endif
GCRef gcr; /* GCobj constant (overlaps op12). */
MRef ptr; /* Pointer constant (overlaps op12). */
} IRIns;