| 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 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1002 // source position information | 1002 // source position information |
| 1003 int current_position_; | 1003 int current_position_; |
| 1004 int current_statement_position_; | 1004 int current_statement_position_; |
| 1005 int written_position_; | 1005 int written_position_; |
| 1006 int written_statement_position_; | 1006 int written_statement_position_; |
| 1007 | 1007 |
| 1008 // Code emission | 1008 // Code emission |
| 1009 inline void CheckBuffer(); | 1009 inline void CheckBuffer(); |
| 1010 void GrowBuffer(); | 1010 void GrowBuffer(); |
| 1011 inline void emit(Instr x); | 1011 inline void emit(Instr x); |
| 1012 inline void emit_int32(int32_t x); |
| 1012 | 1013 |
| 1013 // Instruction generation | 1014 // Instruction generation |
| 1014 void addrmod1(Instr instr, Register rn, Register rd, const Operand& x); | 1015 void addrmod1(Instr instr, Register rn, Register rd, const Operand& x); |
| 1015 void addrmod2(Instr instr, Register rd, const MemOperand& x); | 1016 void addrmod2(Instr instr, Register rd, const MemOperand& x); |
| 1016 void addrmod3(Instr instr, Register rd, const MemOperand& x); | 1017 void addrmod3(Instr instr, Register rd, const MemOperand& x); |
| 1017 void addrmod4(Instr instr, Register rn, RegList rl); | 1018 void addrmod4(Instr instr, Register rn, RegList rl); |
| 1018 void addrmod5(Instr instr, CRegister crd, const MemOperand& x); | 1019 void addrmod5(Instr instr, CRegister crd, const MemOperand& x); |
| 1019 | 1020 |
| 1020 // Labels | 1021 // Labels |
| 1021 void print(Label* L); | 1022 void print(Label* L); |
| 1022 void bind_to(Label* L, int pos); | 1023 void bind_to(Label* L, int pos); |
| 1023 void link_to(Label* L, Label* appendix); | 1024 void link_to(Label* L, Label* appendix); |
| 1024 void next(Label* L); | 1025 void next(Label* L); |
| 1025 | 1026 |
| 1026 // Record reloc info for current pc_ | 1027 // Record reloc info for current pc_ |
| 1027 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); | 1028 void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0); |
| 1028 | 1029 |
| 1029 friend class RegExpMacroAssemblerARM; | 1030 friend class RegExpMacroAssemblerARM; |
| 1030 friend class RelocInfo; | 1031 friend class RelocInfo; |
| 1031 friend class CodePatcher; | 1032 friend class CodePatcher; |
| 1032 }; | 1033 }; |
| 1033 | 1034 |
| 1034 } } // namespace v8::internal | 1035 } } // namespace v8::internal |
| 1035 | 1036 |
| 1036 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1037 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
| OLD | NEW |