mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-10 00:14:09 +00:00
Make IR (only!) ready for LJ_GC64
This commit is contained in:
parent
ab398d66e1
commit
ac7d3c4ec3
@ -529,6 +529,10 @@ typedef uint32_t TRef;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
typedef union IRIns {
|
typedef union IRIns {
|
||||||
|
struct {
|
||||||
|
#ifdef LJ_GC64
|
||||||
|
uint32_t padding; /* Ensures that gcr/ptr overlap with the proper fields */
|
||||||
|
#endif
|
||||||
struct {
|
struct {
|
||||||
LJ_ENDIAN_LOHI(
|
LJ_ENDIAN_LOHI(
|
||||||
IRRef1 op1; /* IR operand 1. */
|
IRRef1 op1; /* IR operand 1. */
|
||||||
@ -549,6 +553,7 @@ typedef union IRIns {
|
|||||||
)
|
)
|
||||||
};
|
};
|
||||||
int32_t i; /* 32 bit signed integer literal (overlaps op12). */
|
int32_t i; /* 32 bit signed integer literal (overlaps op12). */
|
||||||
|
};
|
||||||
GCRef gcr; /* GCobj constant (overlaps op12). */
|
GCRef gcr; /* GCobj constant (overlaps op12). */
|
||||||
MRef ptr; /* Pointer constant (overlaps op12). */
|
MRef ptr; /* Pointer constant (overlaps op12). */
|
||||||
} IRIns;
|
} IRIns;
|
||||||
|
Loading…
Reference in New Issue
Block a user