Changeset 36604 in webkit for trunk/JavaScriptCore/VM/Machine.h
- Timestamp:
- Sep 17, 2008, 11:20:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/Machine.h
r36581 r36604 75 75 RegisterFile& registerFile() { return m_registerFile; } 76 76 77 Opcode getOpcode(OpcodeID id) 78 { 79 #if HAVE(COMPUTED_GOTO) 80 return m_opcodeTable[id]; 81 #else 82 return id; 83 #endif 84 } 77 static Opcode getOpcode(OpcodeID id); 85 78 86 79 OpcodeID getOpcodeID(Opcode opcode) … … 300 293 301 294 #if HAVE(COMPUTED_GOTO) 302 Opcode m_opcodeTable[numOpcodeIDs]; // Maps OpcodeID => Opcode for compiling295 static Opcode s_opcodeTable[numOpcodeIDs]; // Maps OpcodeID => Opcode for compiling 303 296 HashMap<Opcode, OpcodeID> m_opcodeIDTable; // Maps Opcode => OpcodeID for decompiling 304 297 #endif
Note:
See TracChangeset
for help on using the changeset viewer.