| 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 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 | 659 |
| 660 void MarkExceptionHandler(Label* label); | 660 void MarkExceptionHandler(Label* label); |
| 661 | 661 |
| 662 void Drop(intptr_t stack_elements); | 662 void Drop(intptr_t stack_elements); |
| 663 | 663 |
| 664 void LoadPoolPointer(); | 664 void LoadPoolPointer(); |
| 665 | 665 |
| 666 void LoadIsolate(Register rd); | 666 void LoadIsolate(Register rd); |
| 667 | 667 |
| 668 void LoadObject(Register rd, const Object& object, Condition cond = AL); | 668 void LoadObject(Register rd, const Object& object, Condition cond = AL); |
| 669 void LoadUniqueObject(Register rd, const Object& object, Condition cond = AL); |
| 669 void LoadExternalLabel(Register dst, | 670 void LoadExternalLabel(Register dst, |
| 670 const ExternalLabel* label, | 671 const ExternalLabel* label, |
| 671 Patchability patchable, | 672 Patchability patchable, |
| 672 Condition cond = AL); | 673 Condition cond = AL); |
| 673 void PushObject(const Object& object); | 674 void PushObject(const Object& object); |
| 674 void CompareObject(Register rn, const Object& object); | 675 void CompareObject(Register rn, const Object& object); |
| 675 | 676 |
| 676 // When storing into a heap object field, knowledge of the previous content | 677 // When storing into a heap object field, knowledge of the previous content |
| 677 // is expressed through these constants. | 678 // is expressed through these constants. |
| 678 enum FieldContent { | 679 enum FieldContent { |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 intptr_t pc_offset_; | 995 intptr_t pc_offset_; |
| 995 const String& comment_; | 996 const String& comment_; |
| 996 | 997 |
| 997 DISALLOW_COPY_AND_ASSIGN(CodeComment); | 998 DISALLOW_COPY_AND_ASSIGN(CodeComment); |
| 998 }; | 999 }; |
| 999 | 1000 |
| 1000 GrowableArray<CodeComment*> comments_; | 1001 GrowableArray<CodeComment*> comments_; |
| 1001 | 1002 |
| 1002 bool allow_constant_pool_; | 1003 bool allow_constant_pool_; |
| 1003 | 1004 |
| 1005 void LoadObjectHelper(Register rd, |
| 1006 const Object& object, |
| 1007 Condition cond, |
| 1008 bool is_unique); |
| 1009 |
| 1004 void EmitType01(Condition cond, | 1010 void EmitType01(Condition cond, |
| 1005 int type, | 1011 int type, |
| 1006 Opcode opcode, | 1012 Opcode opcode, |
| 1007 int set_cc, | 1013 int set_cc, |
| 1008 Register rn, | 1014 Register rn, |
| 1009 Register rd, | 1015 Register rd, |
| 1010 Operand o); | 1016 Operand o); |
| 1011 | 1017 |
| 1012 void EmitType5(Condition cond, int32_t offset, bool link); | 1018 void EmitType5(Condition cond, int32_t offset, bool link); |
| 1013 | 1019 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1129 Register new_value, | 1135 Register new_value, |
| 1130 FieldContent old_content); | 1136 FieldContent old_content); |
| 1131 | 1137 |
| 1132 DISALLOW_ALLOCATION(); | 1138 DISALLOW_ALLOCATION(); |
| 1133 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1139 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1134 }; | 1140 }; |
| 1135 | 1141 |
| 1136 } // namespace dart | 1142 } // namespace dart |
| 1137 | 1143 |
| 1138 #endif // VM_ASSEMBLER_ARM_H_ | 1144 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |