| 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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 Condition cond = AL); | 544 Condition cond = AL); |
| 545 | 545 |
| 546 // Compare rn with signed immediate value. May clobber IP. | 546 // Compare rn with signed immediate value. May clobber IP. |
| 547 void CompareImmediate(Register rn, int32_t value, Condition cond = AL); | 547 void CompareImmediate(Register rn, int32_t value, Condition cond = AL); |
| 548 | 548 |
| 549 // Load and Store. May clobber IP. | 549 // Load and Store. May clobber IP. |
| 550 void LoadImmediate(Register rd, int32_t value, Condition cond = AL); | 550 void LoadImmediate(Register rd, int32_t value, Condition cond = AL); |
| 551 void LoadSImmediate(SRegister sd, float value, Condition cond = AL); | 551 void LoadSImmediate(SRegister sd, float value, Condition cond = AL); |
| 552 void LoadDImmediate(DRegister dd, double value, | 552 void LoadDImmediate(DRegister dd, double value, |
| 553 Register scratch, Condition cond = AL); | 553 Register scratch, Condition cond = AL); |
| 554 |
| 554 void MarkExceptionHandler(Label* label); | 555 void MarkExceptionHandler(Label* label); |
| 556 |
| 555 void Drop(intptr_t stack_elements); | 557 void Drop(intptr_t stack_elements); |
| 558 |
| 556 void LoadObject(Register rd, const Object& object); | 559 void LoadObject(Register rd, const Object& object); |
| 557 void PushObject(const Object& object); | 560 void PushObject(const Object& object); |
| 558 void CompareObject(Register rn, const Object& object); | 561 void CompareObject(Register rn, const Object& object); |
| 562 |
| 563 void LoadClassId(Register result, Register object); |
| 564 void LoadClassById(Register result, Register class_id); |
| 565 void LoadClass(Register result, Register object, Register scratch); |
| 566 void CompareClassId(Register object, intptr_t class_id, Register scratch); |
| 567 |
| 559 void LoadWordFromPoolOffset(Register rd, int32_t offset); | 568 void LoadWordFromPoolOffset(Register rd, int32_t offset); |
| 560 void LoadFromOffset(LoadOperandType type, | 569 void LoadFromOffset(LoadOperandType type, |
| 561 Register reg, | 570 Register reg, |
| 562 Register base, | 571 Register base, |
| 563 int32_t offset, | 572 int32_t offset, |
| 564 Condition cond = AL); | 573 Condition cond = AL); |
| 565 void StoreToOffset(StoreOperandType type, | 574 void StoreToOffset(StoreOperandType type, |
| 566 Register reg, | 575 Register reg, |
| 567 Register base, | 576 Register base, |
| 568 int32_t offset, | 577 int32_t offset, |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 return *reg1 - *reg2; | 783 return *reg1 - *reg2; |
| 775 } | 784 } |
| 776 | 785 |
| 777 DISALLOW_ALLOCATION(); | 786 DISALLOW_ALLOCATION(); |
| 778 DISALLOW_COPY_AND_ASSIGN(Assembler); | 787 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 779 }; | 788 }; |
| 780 | 789 |
| 781 } // namespace dart | 790 } // namespace dart |
| 782 | 791 |
| 783 #endif // VM_ASSEMBLER_ARM_H_ | 792 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |