Changeset 37192 in webkit for trunk/JavaScriptCore/VM
- Timestamp:
- Oct 2, 2008, 9:39:46 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/Machine.h
r37191 r37192 327 327 } 328 328 329 staticconst intptr_t HostCallFrameMask = 1;330 331 staticinline Register* makeHostCallFramePointer(Register* callFrame)329 const intptr_t HostCallFrameMask = 1; 330 331 inline Register* makeHostCallFramePointer(Register* callFrame) 332 332 { 333 333 return reinterpret_cast<Register*>(reinterpret_cast<intptr_t>(callFrame) | HostCallFrameMask); 334 334 } 335 335 336 staticinline bool isHostCallFrame(Register* callFrame)336 inline bool isHostCallFrame(Register* callFrame) 337 337 { 338 338 return reinterpret_cast<intptr_t>(callFrame) & HostCallFrameMask; 339 339 } 340 340 341 staticinline Register* stripHostCallFrameBit(Register* callFrame)341 inline Register* stripHostCallFrameBit(Register* callFrame) 342 342 { 343 343 return reinterpret_cast<Register*>(reinterpret_cast<intptr_t>(callFrame) & ~HostCallFrameMask);
Note:
See TracChangeset
for help on using the changeset viewer.