diff options
Diffstat (limited to 'includes/compiler/objects.h')
-rw-r--r-- | includes/compiler/objects.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/includes/compiler/objects.h b/includes/compiler/objects.h index a6a170b..f824923 100644 --- a/includes/compiler/objects.h +++ b/includes/compiler/objects.h @@ -122,9 +122,9 @@ struct Object { UInt8 flags; ExtendedParam *extParam; Object *toc; - void *any; + //void *any; //char reg; // notsure? - //VarRecord *varptr; // notsure? + VarRecord *varptr; // i think? // union starts at 0x24 in v7 union { struct { @@ -168,7 +168,7 @@ struct Object { struct { VarInfo *info; SInt32 uid; - SInt32 offset; + // SInt32 offset; // ??? Object *realObj; } var; struct { @@ -229,12 +229,19 @@ struct VarInfo { // OK! enum { VarInfoFlag1 = 1, // is parameter? - VarInfoFlag2 = 2, - VarInfoFlag4 = 4, + VarInfoFlag2 = 2, // spill related? + VarInfoFlag4 = 4, // 64-bit spill related? VarInfoFlag40 = 0x40, VarInfoFlag80 = 0x80 }; +// placing these here until further notice + +// unknown name, mwcppc.exe 7.0: 484870 +inline Boolean Inline_IsObjectData(Object *object) { + return object->datatype == DDATA; +} + #ifdef __MWERKS__ #pragma options align=reset #endif |