| 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 3061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3072 } | 3072 } |
| 3073 | 3073 |
| 3074 | 3074 |
| 3075 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) { | 3075 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) { |
| 3076 uint32_t dummy1; | 3076 uint32_t dummy1; |
| 3077 uint32_t dummy2; | 3077 uint32_t dummy2; |
| 3078 return fits_shifter(imm32, &dummy1, &dummy2, NULL); | 3078 return fits_shifter(imm32, &dummy1, &dummy2, NULL); |
| 3079 } | 3079 } |
| 3080 | 3080 |
| 3081 | 3081 |
| 3082 bool Assembler::ImmediateFitsAddrMode2Instruction(int32_t imm32) { |
| 3083 return is_uint12(abs(imm32)); |
| 3084 } |
| 3085 |
| 3086 |
| 3082 // Debugging. | 3087 // Debugging. |
| 3083 void Assembler::RecordJSReturn() { | 3088 void Assembler::RecordJSReturn() { |
| 3084 positions_recorder()->WriteRecordedPositions(); | 3089 positions_recorder()->WriteRecordedPositions(); |
| 3085 CheckBuffer(); | 3090 CheckBuffer(); |
| 3086 RecordRelocInfo(RelocInfo::JS_RETURN); | 3091 RecordRelocInfo(RelocInfo::JS_RETURN); |
| 3087 } | 3092 } |
| 3088 | 3093 |
| 3089 | 3094 |
| 3090 void Assembler::RecordDebugBreakSlot() { | 3095 void Assembler::RecordDebugBreakSlot() { |
| 3091 positions_recorder()->WriteRecordedPositions(); | 3096 positions_recorder()->WriteRecordedPositions(); |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3487 | 3492 |
| 3488 // Since a constant pool was just emitted, move the check offset forward by | 3493 // Since a constant pool was just emitted, move the check offset forward by |
| 3489 // the standard interval. | 3494 // the standard interval. |
| 3490 next_buffer_check_ = pc_offset() + kCheckPoolInterval; | 3495 next_buffer_check_ = pc_offset() + kCheckPoolInterval; |
| 3491 } | 3496 } |
| 3492 | 3497 |
| 3493 | 3498 |
| 3494 } } // namespace v8::internal | 3499 } } // namespace v8::internal |
| 3495 | 3500 |
| 3496 #endif // V8_TARGET_ARCH_ARM | 3501 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |