Changeset 37191 in webkit for trunk/JavaScriptCore/VM/Machine.cpp
- Timestamp:
- Oct 2, 2008, 9:22:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/Machine.cpp
r37184 r37191 105 105 106 106 #endif // #ENABLE(CTI) 107 108 static const intptr_t HostCallFrameMask = 1;109 110 static inline Register* makeHostCallFramePointer(Register* callFrame)111 {112 return reinterpret_cast<Register*>(reinterpret_cast<intptr_t>(callFrame) | HostCallFrameMask);113 }114 115 static inline bool isHostCallFrame(Register* callFrame)116 {117 return reinterpret_cast<intptr_t>(callFrame) & HostCallFrameMask;118 }119 120 static inline Register* stripHostCallFrameBit(Register* callFrame)121 {122 return reinterpret_cast<Register*>(reinterpret_cast<intptr_t>(callFrame) & ~HostCallFrameMask);123 }124 107 125 108 // Returns the depth of the scope chain within a given call frame.
Note:
See TracChangeset
for help on using the changeset viewer.