| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_ASSEMBLER_ARM_H_ | 5 #ifndef VM_ASSEMBLER_ARM_H_ |
| 6 #define VM_ASSEMBLER_ARM_H_ | 6 #define VM_ASSEMBLER_ARM_H_ |
| 7 | 7 |
| 8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
| 9 #error Do not include assembler_arm.h directly; use assembler.h instead. | 9 #error Do not include assembler_arm.h directly; use assembler.h instead. |
| 10 #endif | 10 #endif |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 void Unimplemented(const char* message); | 330 void Unimplemented(const char* message); |
| 331 void Untested(const char* message); | 331 void Untested(const char* message); |
| 332 void Unreachable(const char* message); | 332 void Unreachable(const char* message); |
| 333 | 333 |
| 334 static void InitializeMemoryWithBreakpoints(uword data, int length); | 334 static void InitializeMemoryWithBreakpoints(uword data, int length); |
| 335 | 335 |
| 336 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3); | 336 void Comment(const char* format, ...) PRINTF_ATTRIBUTE(2, 3); |
| 337 | 337 |
| 338 const Code::Comments& GetCodeComments() const; | 338 const Code::Comments& GetCodeComments() const; |
| 339 | 339 |
| 340 static const char* RegisterName(Register reg) { | 340 static const char* RegisterName(Register reg); |
| 341 UNIMPLEMENTED(); | |
| 342 return NULL; | |
| 343 } | |
| 344 | 341 |
| 345 static const char* FpuRegisterName(FpuRegister reg) { | 342 static const char* FpuRegisterName(FpuRegister reg); |
| 346 UNIMPLEMENTED(); | |
| 347 return NULL; | |
| 348 } | |
| 349 | 343 |
| 350 // Data-processing instructions. | 344 // Data-processing instructions. |
| 351 void and_(Register rd, Register rn, ShifterOperand so, Condition cond = AL); | 345 void and_(Register rd, Register rn, ShifterOperand so, Condition cond = AL); |
| 352 | 346 |
| 353 void eor(Register rd, Register rn, ShifterOperand so, Condition cond = AL); | 347 void eor(Register rd, Register rn, ShifterOperand so, Condition cond = AL); |
| 354 | 348 |
| 355 void sub(Register rd, Register rn, ShifterOperand so, Condition cond = AL); | 349 void sub(Register rd, Register rn, ShifterOperand so, Condition cond = AL); |
| 356 void subs(Register rd, Register rn, ShifterOperand so, Condition cond = AL); | 350 void subs(Register rd, Register rn, ShifterOperand so, Condition cond = AL); |
| 357 | 351 |
| 358 void rsb(Register rd, Register rn, ShifterOperand so, Condition cond = AL); | 352 void rsb(Register rd, Register rn, ShifterOperand so, Condition cond = AL); |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 return *reg1 - *reg2; | 777 return *reg1 - *reg2; |
| 784 } | 778 } |
| 785 | 779 |
| 786 DISALLOW_ALLOCATION(); | 780 DISALLOW_ALLOCATION(); |
| 787 DISALLOW_COPY_AND_ASSIGN(Assembler); | 781 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 788 }; | 782 }; |
| 789 | 783 |
| 790 } // namespace dart | 784 } // namespace dart |
| 791 | 785 |
| 792 #endif // VM_ASSEMBLER_ARM_H_ | 786 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |