mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix MSVC build.
This commit is contained in:
parent
fcae87e315
commit
71ecc051dc
11
src/lj_obj.h
11
src/lj_obj.h
@ -175,18 +175,23 @@ typedef LJ_ALIGN(8) union TValue {
|
|||||||
#if LJ_GC64
|
#if LJ_GC64
|
||||||
GCRef gcr; /* GCobj reference with tag. */
|
GCRef gcr; /* GCobj reference with tag. */
|
||||||
int64_t it64;
|
int64_t it64;
|
||||||
#endif
|
struct {
|
||||||
|
LJ_ENDIAN_LOHI(
|
||||||
|
int32_t i; /* Integer value. */
|
||||||
|
, uint32_t it; /* Internal object tag. Must overlap MSW of number. */
|
||||||
|
)
|
||||||
|
};
|
||||||
|
#else
|
||||||
struct {
|
struct {
|
||||||
LJ_ENDIAN_LOHI(
|
LJ_ENDIAN_LOHI(
|
||||||
union {
|
union {
|
||||||
#if !LJ_GC64
|
|
||||||
GCRef gcr; /* GCobj reference (if any). */
|
GCRef gcr; /* GCobj reference (if any). */
|
||||||
#endif
|
|
||||||
int32_t i; /* Integer value. */
|
int32_t i; /* Integer value. */
|
||||||
};
|
};
|
||||||
, uint32_t it; /* Internal object tag. Must overlap MSW of number. */
|
, uint32_t it; /* Internal object tag. Must overlap MSW of number. */
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
#if LJ_FR2
|
#if LJ_FR2
|
||||||
int64_t ftsz; /* Frame type and size of previous frame, or PC. */
|
int64_t ftsz; /* Frame type and size of previous frame, or PC. */
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user