Changeset 89885 in webkit for trunk/Source/JavaScriptCore/bytecode/CodeBlock.h
- Timestamp:
- Jun 27, 2011, 6:32:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeBlock.h
r89630 r89885 99 99 CallLinkInfo() 100 100 : hasSeenShouldRepatch(false) 101 , isCall(false) 101 102 { 102 103 } … … 106 107 CodeLocationNearCall hotPathOther; 107 108 JITWriteBarrier<JSFunction> callee; 108 bool hasSeenShouldRepatch; 109 bool hasSeenShouldRepatch : 1; 110 bool isCall : 1; 109 111 110 112 bool isLinked() { return callee; } 113 void unlink() 114 { 115 hasSeenShouldRepatch = false; 116 callee.clear(); 117 } 111 118 112 119 bool seenOnce() … … 271 278 return binarySearch<CallReturnOffsetToBytecodeOffset, unsigned, getCallReturnOffset>(callIndices.begin(), callIndices.size(), getJITCode().offsetOf(returnAddress.value()))->bytecodeOffset; 272 279 } 273 #endif 280 281 void unlinkCalls(); 282 #endif 283 274 284 #if ENABLE(INTERPRETER) 275 285 unsigned bytecodeOffset(Instruction* returnAddress) … … 340 350 341 351 void createActivation(CallFrame*); 352 353 void clearEvalCache(); 342 354 343 355 #if ENABLE(INTERPRETER)
Note:
See TracChangeset
for help on using the changeset viewer.