Changeset 36244 in webkit for trunk/JavaScriptCore/VM/CodeGenerator.cpp
- Timestamp:
- Sep 6, 2008, 10:44:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CodeGenerator.cpp
r36032 r36244 1193 1193 RegisterID* CodeGenerator::emitCatch(RegisterID* targetRegister, LabelID* start, LabelID* end) 1194 1194 { 1195 HandlerInfo info = { start->offsetFrom(0), end->offsetFrom(0), instructions().size(), m_dynamicScopeDepth };1195 HandlerInfo info = { start->offsetFrom(0), end->offsetFrom(0), instructions().size(), m_dynamicScopeDepth, 0 }; 1196 1196 exceptionHandlers().append(info); 1197 1197 emitOpcode(op_catch); … … 1321 1321 ASSERT(nodes[i]->isString()); 1322 1322 UString::Rep* clause = static_cast<StringNode*>(nodes[i])->value().rep(); 1323 jumpTable.add(clause, labels[i]->offsetFrom(switchAddress)); 1323 OffsetLocation location; 1324 location.branchOffset = labels[i]->offsetFrom(switchAddress); 1325 #if ENABLE(CTI) 1326 location.ctiOffset = 0; 1327 #endif 1328 jumpTable.offsetTable.add(clause, location); 1324 1329 } 1325 1330 }
Note:
See TracChangeset
for help on using the changeset viewer.