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

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

Issue 14925005: Remove stack_frame_<arch>.cc files. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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/vm/assembler_mips.h ('k') | runtime/vm/code_generator.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_X64_H_ 5 #ifndef VM_ASSEMBLER_X64_H_
6 #define VM_ASSEMBLER_X64_H_ 6 #define VM_ASSEMBLER_X64_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_x64.h directly; use assembler.h instead. 9 #error Do not include assembler_x64.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 void EnterStubFrame(); 742 void EnterStubFrame();
743 743
744 // Instruction pattern from entrypoint is used in dart frame prologs 744 // Instruction pattern from entrypoint is used in dart frame prologs
745 // to set up the frame and save a PC which can be used to figure out the 745 // to set up the frame and save a PC which can be used to figure out the
746 // RawInstruction object corresponding to the code running in the frame. 746 // RawInstruction object corresponding to the code running in the frame.
747 // entrypoint: 747 // entrypoint:
748 // pushq rbp (size is 1 byte) 748 // pushq rbp (size is 1 byte)
749 // movq rbp, rsp (size is 3 bytes) 749 // movq rbp, rsp (size is 3 bytes)
750 // call L (size is 5 bytes) 750 // call L (size is 5 bytes)
751 // L: 751 // L:
752 static const intptr_t kOffsetOfSavedPCfromEntrypoint = 9; 752 static const intptr_t kEntryPointToPcMarkerOffset = 9;
753 753
754 // Inlined allocation of an instance of class 'cls', code has no runtime 754 // Inlined allocation of an instance of class 'cls', code has no runtime
755 // calls. Jump to 'failure' if the instance cannot be allocated here. 755 // calls. Jump to 'failure' if the instance cannot be allocated here.
756 // Allocated instance is returned in 'instance_reg'. 756 // Allocated instance is returned in 'instance_reg'.
757 // Only the tags field of the object is initialized. 757 // Only the tags field of the object is initialized.
758 void TryAllocate(const Class& cls, 758 void TryAllocate(const Class& cls,
759 Label* failure, 759 Label* failure,
760 bool near_jump, 760 bool near_jump,
761 Register instance_reg); 761 Register instance_reg);
762 762
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 } 909 }
910 910
911 911
912 inline void Assembler::EmitOperandSizeOverride() { 912 inline void Assembler::EmitOperandSizeOverride() {
913 EmitUint8(0x66); 913 EmitUint8(0x66);
914 } 914 }
915 915
916 } // namespace dart 916 } // namespace dart
917 917
918 #endif // VM_ASSEMBLER_X64_H_ 918 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_mips.h ('k') | runtime/vm/code_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698