Changeset 39354 in webkit for trunk/JavaScriptCore/bytecode/CodeBlock.h
- Timestamp:
- Dec 16, 2008, 10:30:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.h
r39285 r39354 129 129 }; 130 130 131 struct FunctionRegisterInfo { 132 FunctionRegisterInfo(unsigned bytecodeOffset, int functionRegisterIndex) 133 : bytecodeOffset(bytecodeOffset) 134 , functionRegisterIndex(functionRegisterIndex) 135 { 136 } 137 138 unsigned bytecodeOffset; 139 int functionRegisterIndex; 140 }; 141 131 142 struct GlobalResolveInfo { 132 143 GlobalResolveInfo() … … 291 302 return binaryChop<PC, void*, getNativePC>(m_pcVector.begin(), m_pcVector.size(), nativePC)->bytecodeIndex; 292 303 } 304 305 bool functionRegisterForBytecodeOffset(unsigned bytecodeOffset, int& functionRegisterIndex); 293 306 #endif 294 307 … … 350 363 void addCallLinkInfo() { m_callLinkInfos.append(CallLinkInfo()); } 351 364 CallLinkInfo& callLinkInfo(int index) { return m_callLinkInfos[index]; } 365 366 void addFunctionRegisterInfo(unsigned bytecodeOffset, int functionIndex) { createRareDataIfNecessary(); m_rareData->m_functionRegisterInfos.append(FunctionRegisterInfo(bytecodeOffset, functionIndex)); } 352 367 353 368 Vector<PC>& pcVector() { return m_pcVector; } … … 481 496 482 497 EvalCodeCache m_evalCodeCache; 498 499 #if ENABLE(JIT) 500 Vector<FunctionRegisterInfo> m_functionRegisterInfos; 501 #endif 483 502 }; 484 503
Note:
See TracChangeset
for help on using the changeset viewer.