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

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

Issue 13619008: Implements type checking in MIPS needed for FindCodeObject test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »
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_MIPS_H_ 5 #ifndef VM_ASSEMBLER_MIPS_H_
6 #define VM_ASSEMBLER_MIPS_H_ 6 #define VM_ASSEMBLER_MIPS_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_mips.h directly; use assembler.h instead. 9 #error Do not include assembler_mips.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 void ReserveAlignedFrameSpace(intptr_t frame_space); 588 void ReserveAlignedFrameSpace(intptr_t frame_space);
589 589
590 void LoadWordFromPoolOffset(Register rd, int32_t offset); 590 void LoadWordFromPoolOffset(Register rd, int32_t offset);
591 void LoadObject(Register rd, const Object& object); 591 void LoadObject(Register rd, const Object& object);
592 void PushObject(const Object& object); 592 void PushObject(const Object& object);
593 593
594 // Sets register rd to zero if the object is equal to register rn, 594 // Sets register rd to zero if the object is equal to register rn,
595 // set to non-zero otherwise. 595 // set to non-zero otherwise.
596 void CompareObject(Register rd, Register rn, const Object& object); 596 void CompareObject(Register rd, Register rn, const Object& object);
597 597
598 void LoadClassId(Register result, Register object);
599 void LoadClassById(Register result, Register class_id);
600 void LoadClass(Register result, Register object, Register scratch);
601
598 void CallRuntime(const RuntimeEntry& entry); 602 void CallRuntime(const RuntimeEntry& entry);
599 603
600 // Set up a Dart frame on entry with a frame pointer and PC information to 604 // Set up a Dart frame on entry with a frame pointer and PC information to
601 // enable easy access to the RawInstruction object of code corresponding 605 // enable easy access to the RawInstruction object of code corresponding
602 // to this frame. 606 // to this frame.
603 void EnterDartFrame(intptr_t frame_size); 607 void EnterDartFrame(intptr_t frame_size);
604 void LeaveDartFrame(); 608 void LeaveDartFrame();
605 609
606 private: 610 private:
607 AssemblerBuffer buffer_; 611 AssemblerBuffer buffer_;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 delay_slot_available_ = true; 729 delay_slot_available_ = true;
726 } 730 }
727 731
728 DISALLOW_ALLOCATION(); 732 DISALLOW_ALLOCATION();
729 DISALLOW_COPY_AND_ASSIGN(Assembler); 733 DISALLOW_COPY_AND_ASSIGN(Assembler);
730 }; 734 };
731 735
732 } // namespace dart 736 } // namespace dart
733 737
734 #endif // VM_ASSEMBLER_MIPS_H_ 738 #endif // VM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | runtime/vm/assembler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698