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

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

Issue 12773008: Support checked mode for VM tests on ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698