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

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

Issue 140743010: Get rid of dynamic call debug stub (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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 | « no previous file | runtime/vm/assembler_x64.cc » ('j') | runtime/vm/debugger_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_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 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 const ZoneGrowableArray<intptr_t>& GetPointerOffsets() const { 761 const ZoneGrowableArray<intptr_t>& GetPointerOffsets() const {
762 return buffer_.pointer_offsets(); 762 return buffer_.pointer_offsets();
763 } 763 }
764 const GrowableObjectArray& object_pool() const { return object_pool_; } 764 const GrowableObjectArray& object_pool() const { return object_pool_; }
765 765
766 void FinalizeInstructions(const MemoryRegion& region) { 766 void FinalizeInstructions(const MemoryRegion& region) {
767 buffer_.FinalizeInstructions(region); 767 buffer_.FinalizeInstructions(region);
768 } 768 }
769 769
770 // Index of constant pool entries pointing to debugger stubs. 770 // Index of constant pool entries pointing to debugger stubs.
771 static const int kBreakpointDynamicCPIndex = 5; 771 static const int kBreakpointRuntimeCPIndex = 5;
772 static const int kBreakpointRuntimeCPIndex = 6;
773 772
774 void LoadPoolPointer(Register pp); 773 void LoadPoolPointer(Register pp);
775 774
776 // Set up a Dart frame on entry with a frame pointer and PC information to 775 // Set up a Dart frame on entry with a frame pointer and PC information to
777 // enable easy access to the RawInstruction object of code corresponding 776 // enable easy access to the RawInstruction object of code corresponding
778 // to this frame. 777 // to this frame.
779 // The dart frame layout is as follows: 778 // The dart frame layout is as follows:
780 // .... 779 // ....
781 // locals space <=== RSP 780 // locals space <=== RSP
782 // saved PP 781 // saved PP
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
1052 } 1051 }
1053 1052
1054 1053
1055 inline void Assembler::EmitOperandSizeOverride() { 1054 inline void Assembler::EmitOperandSizeOverride() {
1056 EmitUint8(0x66); 1055 EmitUint8(0x66);
1057 } 1056 }
1058 1057
1059 } // namespace dart 1058 } // namespace dart
1060 1059
1061 #endif // VM_ASSEMBLER_X64_H_ 1060 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_x64.cc » ('j') | runtime/vm/debugger_arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698