Changeset 38412 in webkit for trunk/JavaScriptCore/VM/CodeBlock.h
- Timestamp:
- Nov 14, 2008, 5:33:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CodeBlock.h
r38369 r38412 121 121 } 122 122 123 inline void* getCallLinkInfoReturnLocation(CallLinkInfo* callLinkInfo) 124 { 125 return callLinkInfo->callReturnLocation; 126 } 127 123 128 // Binary chop algorithm, calls valueAtPosition on pre-sorted elements in array, 124 129 // compares result with key (KeyTypes should be comparable with '--', '<', '>'). … … 301 306 } 302 307 308 CallLinkInfo& getCallLinkInfo(void* returnAddress) 309 { 310 return *(binaryChop<CallLinkInfo, void*, getCallLinkInfoReturnLocation>(callLinkInfos.begin(), callLinkInfos.size(), returnAddress)); 311 } 312 303 313 ScopeNode* ownerNode; 304 314 JSGlobalData* globalData;
Note:
See TracChangeset
for help on using the changeset viewer.