Changeset 38425 in webkit for trunk/JavaScriptCore/masm
- Timestamp:
- Nov 15, 2008, 12:34:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/masm/X86Assembler.h
r38286 r38425 279 279 280 280 GROUP11_MOV = 0, 281 } OpcodeID;281 } BytecodeID; 282 282 283 283 static const int MAX_INSTRUCTION_SIZE = 16; … … 1231 1231 } 1232 1232 1233 void emitModRm_opr( OpcodeID opcode, RegisterID rm)1233 void emitModRm_opr(BytecodeID bytecode, RegisterID rm) 1234 1234 { 1235 1235 m_buffer->ensureSpace(MAX_INSTRUCTION_SIZE); 1236 emitModRm_opr_Unchecked( opcode, rm);1237 } 1238 1239 void emitModRm_opr_Unchecked( OpcodeID opcode, RegisterID rm)1240 { 1241 emitModRm_rr_Unchecked(static_cast<RegisterID>( opcode), rm);1242 } 1243 1244 void emitModRm_opm( OpcodeID opcode, RegisterID base)1245 { 1246 emitModRm_rm(static_cast<RegisterID>( opcode), base);1247 } 1248 1249 void emitModRm_opm_Unchecked( OpcodeID opcode, RegisterID base, int offset)1250 { 1251 emitModRm_rm_Unchecked(static_cast<RegisterID>( opcode), base, offset);1252 } 1253 1254 void emitModRm_opm( OpcodeID opcode, RegisterID base, int offset)1255 { 1256 emitModRm_rm(static_cast<RegisterID>( opcode), base, offset);1257 } 1258 1259 void emitModRm_opm( OpcodeID opcode, void* addr)1260 { 1261 emitModRm_rm(static_cast<RegisterID>( opcode), addr);1262 } 1263 1264 void emitModRm_opmsib( OpcodeID opcode, RegisterID base, RegisterID index, int scale, int offset)1265 { 1266 emitModRm_rmsib(static_cast<RegisterID>( opcode), base, index, scale, offset);1236 emitModRm_opr_Unchecked(bytecode, rm); 1237 } 1238 1239 void emitModRm_opr_Unchecked(BytecodeID bytecode, RegisterID rm) 1240 { 1241 emitModRm_rr_Unchecked(static_cast<RegisterID>(bytecode), rm); 1242 } 1243 1244 void emitModRm_opm(BytecodeID bytecode, RegisterID base) 1245 { 1246 emitModRm_rm(static_cast<RegisterID>(bytecode), base); 1247 } 1248 1249 void emitModRm_opm_Unchecked(BytecodeID bytecode, RegisterID base, int offset) 1250 { 1251 emitModRm_rm_Unchecked(static_cast<RegisterID>(bytecode), base, offset); 1252 } 1253 1254 void emitModRm_opm(BytecodeID bytecode, RegisterID base, int offset) 1255 { 1256 emitModRm_rm(static_cast<RegisterID>(bytecode), base, offset); 1257 } 1258 1259 void emitModRm_opm(BytecodeID bytecode, void* addr) 1260 { 1261 emitModRm_rm(static_cast<RegisterID>(bytecode), addr); 1262 } 1263 1264 void emitModRm_opmsib(BytecodeID bytecode, RegisterID base, RegisterID index, int scale, int offset) 1265 { 1266 emitModRm_rmsib(static_cast<RegisterID>(bytecode), base, index, scale, offset); 1267 1267 } 1268 1268
Note:
See TracChangeset
for help on using the changeset viewer.