| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1304 if ((am & P) == 0) // post indexing | 1304 if ((am & P) == 0) // post indexing |
| 1305 mov(dst, Operand(x.rn_), s, cond); | 1305 mov(dst, Operand(x.rn_), s, cond); |
| 1306 else if ((am & U) == 0) // negative indexing | 1306 else if ((am & U) == 0) // negative indexing |
| 1307 sub(dst, x.rn_, Operand(x.rm_, x.shift_op_, x.shift_imm_), s, cond); | 1307 sub(dst, x.rn_, Operand(x.rm_, x.shift_op_, x.shift_imm_), s, cond); |
| 1308 else | 1308 else |
| 1309 add(dst, x.rn_, Operand(x.rm_, x.shift_op_, x.shift_imm_), s, cond); | 1309 add(dst, x.rn_, Operand(x.rm_, x.shift_op_, x.shift_imm_), s, cond); |
| 1310 } | 1310 } |
| 1311 } | 1311 } |
| 1312 | 1312 |
| 1313 | 1313 |
| 1314 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) { |
| 1315 uint32_t dummy1; |
| 1316 uint32_t dummy2; |
| 1317 return fits_shifter(imm32, &dummy1, &dummy2, NULL); |
| 1318 } |
| 1319 |
| 1320 |
| 1314 // Debugging | 1321 // Debugging |
| 1315 void Assembler::RecordJSReturn() { | 1322 void Assembler::RecordJSReturn() { |
| 1316 WriteRecordedPositions(); | 1323 WriteRecordedPositions(); |
| 1317 CheckBuffer(); | 1324 CheckBuffer(); |
| 1318 RecordRelocInfo(RelocInfo::JS_RETURN); | 1325 RecordRelocInfo(RelocInfo::JS_RETURN); |
| 1319 } | 1326 } |
| 1320 | 1327 |
| 1321 | 1328 |
| 1322 void Assembler::RecordComment(const char* msg) { | 1329 void Assembler::RecordComment(const char* msg) { |
| 1323 if (FLAG_debug_code) { | 1330 if (FLAG_debug_code) { |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1536 bind(&after_pool); | 1543 bind(&after_pool); |
| 1537 } | 1544 } |
| 1538 | 1545 |
| 1539 // Since a constant pool was just emitted, move the check offset forward by | 1546 // Since a constant pool was just emitted, move the check offset forward by |
| 1540 // the standard interval. | 1547 // the standard interval. |
| 1541 next_buffer_check_ = pc_offset() + kCheckConstInterval; | 1548 next_buffer_check_ = pc_offset() + kCheckConstInterval; |
| 1542 } | 1549 } |
| 1543 | 1550 |
| 1544 | 1551 |
| 1545 } } // namespace v8::internal | 1552 } } // namespace v8::internal |
| OLD | NEW |