Changeset 36973 in webkit for trunk/JavaScriptCore/VM/Machine.cpp
- Timestamp:
- Sep 26, 2008, 3:43:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/Machine.cpp
r36972 r36973 505 505 exceptionValue = createUndefinedVariableError(exec, ident, vPC, codeBlock); 506 506 return false; 507 }508 509 #if HAVE(COMPUTED_GOTO)510 Opcode Machine::s_opcodeTable[numOpcodeIDs];511 #endif512 513 Opcode Machine::getOpcode(OpcodeID id)514 {515 #if HAVE(COMPUTED_GOTO)516 return s_opcodeTable[id];517 #else518 return id;519 #endif520 507 } 521 508 … … 1429 1416 if (flag == InitializeAndReturn) { 1430 1417 #if HAVE(COMPUTED_GOTO) 1431 #define ADD_OPCODE(id) s_opcodeTable[id] = &&id;1418 #define ADD_OPCODE(id) m_opcodeTable[id] = &&id; 1432 1419 FOR_EACH_OPCODE_ID(ADD_OPCODE); 1433 1420 #undef ADD_OPCODE
Note:
See TracChangeset
for help on using the changeset viewer.