Changeset 39038 in webkit for trunk/JavaScriptCore/jit/JIT.cpp
- Timestamp:
- Dec 5, 2008, 12:27:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JIT.cpp
r39020 r39038 1246 1246 1247 1247 // create jump table for switch destinations, track this switch statement. 1248 SimpleJumpTable* jumpTable = &m_codeBlock->immediateSwitchJumpTable s[tableIndex];1248 SimpleJumpTable* jumpTable = &m_codeBlock->immediateSwitchJumpTable(tableIndex); 1249 1249 m_switches.append(SwitchRecord(jumpTable, i, defaultOffset, SwitchRecord::Immediate)); 1250 1250 jumpTable->ctiOffsets.grow(jumpTable->branchOffsets.size()); … … 1263 1263 1264 1264 // create jump table for switch destinations, track this switch statement. 1265 SimpleJumpTable* jumpTable = &m_codeBlock->characterSwitchJumpTable s[tableIndex];1265 SimpleJumpTable* jumpTable = &m_codeBlock->characterSwitchJumpTable(tableIndex); 1266 1266 m_switches.append(SwitchRecord(jumpTable, i, defaultOffset, SwitchRecord::Character)); 1267 1267 jumpTable->ctiOffsets.grow(jumpTable->branchOffsets.size()); … … 1280 1280 1281 1281 // create jump table for switch destinations, track this switch statement. 1282 StringJumpTable* jumpTable = &m_codeBlock->stringSwitchJumpTable s[tableIndex];1282 StringJumpTable* jumpTable = &m_codeBlock->stringSwitchJumpTable(tableIndex); 1283 1283 m_switches.append(SwitchRecord(jumpTable, i, defaultOffset)); 1284 1284
Note:
See TracChangeset
for help on using the changeset viewer.