Changeset 39038 in webkit for trunk/JavaScriptCore/bytecode/CodeBlock.h
- Timestamp:
- Dec 5, 2008, 12:27:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/CodeBlock.h
r38498 r39038 311 311 } 312 312 313 void shrinkToFit(); 314 315 size_t numberOfImmediateSwitchJumpTables() const { return m_immediateSwitchJumpTables.size(); } 316 SimpleJumpTable& addImmediateSwitchJumpTable() { m_immediateSwitchJumpTables.append(SimpleJumpTable()); return m_immediateSwitchJumpTables.last(); } 317 SimpleJumpTable& immediateSwitchJumpTable(int tableIndex) { return m_immediateSwitchJumpTables[tableIndex]; } 318 319 size_t numberOfCharacterSwitchJumpTables() const { return m_characterSwitchJumpTables.size(); } 320 SimpleJumpTable& addCharacterSwitchJumpTable() { m_characterSwitchJumpTables.append(SimpleJumpTable()); return m_characterSwitchJumpTables.last(); } 321 SimpleJumpTable& characterSwitchJumpTable(int tableIndex) { return m_characterSwitchJumpTables[tableIndex]; } 322 323 size_t numberOfStringSwitchJumpTables() const { return m_stringSwitchJumpTables.size(); } 324 StringJumpTable& addStringSwitchJumpTable() { m_stringSwitchJumpTables.append(StringJumpTable()); return m_stringSwitchJumpTables.last(); } 325 StringJumpTable& stringSwitchJumpTable(int tableIndex) { return m_stringSwitchJumpTables[tableIndex]; } 326 313 327 ScopeNode* ownerNode; 314 328 JSGlobalData* globalData; … … 351 365 Vector<LineInfo> lineInfo; 352 366 353 Vector<SimpleJumpTable> immediateSwitchJumpTables;354 Vector<SimpleJumpTable> characterSwitchJumpTables;355 Vector<StringJumpTable> stringSwitchJumpTables;356 357 367 #if ENABLE(JIT) 358 368 HashMap<void*, unsigned> ctiReturnAddressVPCMap; … … 369 379 #endif 370 380 381 Vector<SimpleJumpTable> m_immediateSwitchJumpTables; 382 Vector<SimpleJumpTable> m_characterSwitchJumpTables; 383 Vector<StringJumpTable> m_stringSwitchJumpTables; 371 384 }; 372 385
Note:
See TracChangeset
for help on using the changeset viewer.