Changeset 36973 in webkit for trunk/JavaScriptCore/VM/Machine.h
- Timestamp:
- Sep 26, 2008, 3:43:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/Machine.h
r36972 r36973 75 75 RegisterFile& registerFile() { return m_registerFile; } 76 76 77 static Opcode getOpcode(OpcodeID id); 77 Opcode getOpcode(OpcodeID id) 78 { 79 #if HAVE(COMPUTED_GOTO) 80 return m_opcodeTable[id]; 81 #else 82 return id; 83 #endif 84 } 78 85 79 86 OpcodeID getOpcodeID(Opcode opcode) … … 290 297 291 298 #if HAVE(COMPUTED_GOTO) 292 static Opcode s_opcodeTable[numOpcodeIDs]; // Maps OpcodeID => Opcode for compiling299 Opcode m_opcodeTable[numOpcodeIDs]; // Maps OpcodeID => Opcode for compiling 293 300 HashMap<Opcode, OpcodeID> m_opcodeIDTable; // Maps Opcode => OpcodeID for decompiling 294 301 #endif
Note:
See TracChangeset
for help on using the changeset viewer.