Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: runtime/vm/assembler_arm.h

Issue 1344153002: ARM & MIPS: Try to use the object pool before trying to embed a pointer, like ARM64 and X64. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | runtime/vm/assembler_arm.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 Label* miss); 753 Label* miss);
754 754
755 void UpdateRangeFeedback(Register value, 755 void UpdateRangeFeedback(Register value,
756 intptr_t idx, 756 intptr_t idx,
757 Register ic_data, 757 Register ic_data,
758 Register scratch1, 758 Register scratch1,
759 Register scratch2, 759 Register scratch2,
760 Label* miss); 760 Label* miss);
761 761
762 intptr_t FindImmediate(int32_t imm); 762 intptr_t FindImmediate(int32_t imm);
763 bool CanLoadFromObjectPool(const Object& object) const;
763 void LoadFromOffset(OperandSize type, 764 void LoadFromOffset(OperandSize type,
764 Register reg, 765 Register reg,
765 Register base, 766 Register base,
766 int32_t offset, 767 int32_t offset,
767 Condition cond = AL); 768 Condition cond = AL);
768 void LoadFieldFromOffset(OperandSize type, 769 void LoadFieldFromOffset(OperandSize type,
769 Register reg, 770 Register reg,
770 Register base, 771 Register base,
771 int32_t offset, 772 int32_t offset,
772 Condition cond = AL) { 773 Condition cond = AL) {
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 Register new_value, 1150 Register new_value,
1150 FieldContent old_content); 1151 FieldContent old_content);
1151 1152
1152 DISALLOW_ALLOCATION(); 1153 DISALLOW_ALLOCATION();
1153 DISALLOW_COPY_AND_ASSIGN(Assembler); 1154 DISALLOW_COPY_AND_ASSIGN(Assembler);
1154 }; 1155 };
1155 1156
1156 } // namespace dart 1157 } // namespace dart
1157 1158
1158 #endif // VM_ASSEMBLER_ARM_H_ 1159 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | runtime/vm/assembler_arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698