| 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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 SBit s = LeaveCC, Condition cond = al); | 675 SBit s = LeaveCC, Condition cond = al); |
| 676 | 676 |
| 677 // Jump unconditionally to given label. | 677 // Jump unconditionally to given label. |
| 678 void jmp(Label* L) { b(L, al); } | 678 void jmp(Label* L) { b(L, al); } |
| 679 | 679 |
| 680 // Check the code size generated from label to here. | 680 // Check the code size generated from label to here. |
| 681 int InstructionsGeneratedSince(Label* l) { | 681 int InstructionsGeneratedSince(Label* l) { |
| 682 return (pc_offset() - l->pos()) / kInstrSize; | 682 return (pc_offset() - l->pos()) / kInstrSize; |
| 683 } | 683 } |
| 684 | 684 |
| 685 // Check whether an immediate fits an addressing mode 1 instruction. |
| 686 bool ImmediateFitsAddrMode1Instruction(int32_t imm32); |
| 687 |
| 685 // Debugging | 688 // Debugging |
| 686 | 689 |
| 687 // Mark address of the ExitJSFrame code. | 690 // Mark address of the ExitJSFrame code. |
| 688 void RecordJSReturn(); | 691 void RecordJSReturn(); |
| 689 | 692 |
| 690 // Record a comment relocation entry that can be used by a disassembler. | 693 // Record a comment relocation entry that can be used by a disassembler. |
| 691 // Use --debug_code to enable. | 694 // Use --debug_code to enable. |
| 692 void RecordComment(const char* msg); | 695 void RecordComment(const char* msg); |
| 693 | 696 |
| 694 void RecordPosition(int pos); | 697 void RecordPosition(int pos); |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 826 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); | 829 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); |
| 827 | 830 |
| 828 friend class RegExpMacroAssemblerARM; | 831 friend class RegExpMacroAssemblerARM; |
| 829 friend class RelocInfo; | 832 friend class RelocInfo; |
| 830 friend class CodePatcher; | 833 friend class CodePatcher; |
| 831 }; | 834 }; |
| 832 | 835 |
| 833 } } // namespace v8::internal | 836 } } // namespace v8::internal |
| 834 | 837 |
| 835 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 838 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
| OLD | NEW |