namespace JSC {
struct GlobalResolveInfo {
+ GlobalResolveInfo() { }
+
GlobalResolveInfo(unsigned bytecodeOffset)
: offset(0)
, bytecodeOffset(bytecodeOffset)
}
WriteBarrier<Structure> structure;
- unsigned offset;
- unsigned bytecodeOffset;
+ PropertyOffset offset;
+ unsigned bytecodeOffset; // Only valid in old JIT code. This means nothing in the DFG.
};
+inline unsigned getGlobalResolveInfoBytecodeOffset(GlobalResolveInfo* globalResolveInfo)
+{
+ return globalResolveInfo->bytecodeOffset;
+}
+
} // namespace JSC
#endif // GlobalResolveInfo_h