| 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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 void LoadSImmediate(SRegister sd, float value, Condition cond = AL); | 545 void LoadSImmediate(SRegister sd, float value, Condition cond = AL); |
| 546 void LoadDImmediate(DRegister dd, double value, | 546 void LoadDImmediate(DRegister dd, double value, |
| 547 Register scratch, Condition cond = AL); | 547 Register scratch, Condition cond = AL); |
| 548 | 548 |
| 549 void MarkExceptionHandler(Label* label); | 549 void MarkExceptionHandler(Label* label); |
| 550 | 550 |
| 551 void Drop(intptr_t stack_elements); | 551 void Drop(intptr_t stack_elements); |
| 552 | 552 |
| 553 void LoadPoolPointer(); | 553 void LoadPoolPointer(); |
| 554 | 554 |
| 555 void LoadObject(Register rd, const Object& object); | 555 void LoadObject(Register rd, const Object& object, Condition cond = AL); |
| 556 void PushObject(const Object& object); | 556 void PushObject(const Object& object); |
| 557 void CompareObject(Register rn, const Object& object); | 557 void CompareObject(Register rn, const Object& object); |
| 558 | 558 |
| 559 void StoreIntoObject(Register object, // Object we are storing into. | 559 void StoreIntoObject(Register object, // Object we are storing into. |
| 560 const Address& dest, // Where we are storing into. | 560 const Address& dest, // Where we are storing into. |
| 561 Register value, // Value we are storing. | 561 Register value, // Value we are storing. |
| 562 bool can_value_be_smi = true); | 562 bool can_value_be_smi = true); |
| 563 | 563 |
| 564 void StoreIntoObjectNoBarrier(Register object, | 564 void StoreIntoObjectNoBarrier(Register object, |
| 565 const Address& dest, | 565 const Address& dest, |
| 566 Register value); | 566 Register value); |
| 567 void StoreIntoObjectNoBarrier(Register object, | 567 void StoreIntoObjectNoBarrier(Register object, |
| 568 const Address& dest, | 568 const Address& dest, |
| 569 const Object& value); | 569 const Object& value); |
| 570 | 570 |
| 571 void LoadClassId(Register result, Register object); | 571 void LoadClassId(Register result, Register object); |
| 572 void LoadClassById(Register result, Register class_id); | 572 void LoadClassById(Register result, Register class_id); |
| 573 void LoadClass(Register result, Register object, Register scratch); | 573 void LoadClass(Register result, Register object, Register scratch); |
| 574 void CompareClassId(Register object, intptr_t class_id, Register scratch); | 574 void CompareClassId(Register object, intptr_t class_id, Register scratch); |
| 575 | 575 |
| 576 void LoadWordFromPoolOffset(Register rd, int32_t offset); | 576 void LoadWordFromPoolOffset(Register rd, int32_t offset, Condition cond = AL); |
| 577 void LoadFromOffset(LoadOperandType type, | 577 void LoadFromOffset(LoadOperandType type, |
| 578 Register reg, | 578 Register reg, |
| 579 Register base, | 579 Register base, |
| 580 int32_t offset, | 580 int32_t offset, |
| 581 Condition cond = AL); | 581 Condition cond = AL); |
| 582 void StoreToOffset(StoreOperandType type, | 582 void StoreToOffset(StoreOperandType type, |
| 583 Register reg, | 583 Register reg, |
| 584 Register base, | 584 Register base, |
| 585 int32_t offset, | 585 int32_t offset, |
| 586 Condition cond = AL); | 586 Condition cond = AL); |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 Register value, | 793 Register value, |
| 794 Label* no_update); | 794 Label* no_update); |
| 795 | 795 |
| 796 DISALLOW_ALLOCATION(); | 796 DISALLOW_ALLOCATION(); |
| 797 DISALLOW_COPY_AND_ASSIGN(Assembler); | 797 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 798 }; | 798 }; |
| 799 | 799 |
| 800 } // namespace dart | 800 } // namespace dart |
| 801 | 801 |
| 802 #endif // VM_ASSEMBLER_ARM_H_ | 802 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |