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

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

Issue 16888013: Revert "Initial implementation of on-stack replacement (OSR)." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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_ia32.cc ('k') | runtime/vm/assembler_x64.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 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 // locals space <=== RSP 728 // locals space <=== RSP
729 // ..... 729 // .....
730 // This code sets this up with the sequence: 730 // This code sets this up with the sequence:
731 // pushq rbp 731 // pushq rbp
732 // movq rbp, rsp 732 // movq rbp, rsp
733 // call L 733 // call L
734 // L: <code to adjust saved pc if there is any intrinsification code> 734 // L: <code to adjust saved pc if there is any intrinsification code>
735 // ..... 735 // .....
736 void EnterDartFrame(intptr_t frame_size); 736 void EnterDartFrame(intptr_t frame_size);
737 737
738 // Set up a Dart frame for a function compiled for on-stack replacement.
739 // The frame layout is a normal Dart frame, but the frame is partially set
740 // up on entry (it is the frame of the unoptimized code).
741 void EnterOsrFrame(intptr_t extra_size);
742
743 // Set up a stub frame so that the stack traversal code can easily identify 738 // Set up a stub frame so that the stack traversal code can easily identify
744 // a stub frame. 739 // a stub frame.
745 // The stub frame layout is as follows: 740 // The stub frame layout is as follows:
746 // .... 741 // ....
747 // ret PC 742 // ret PC
748 // saved RBP 743 // saved RBP
749 // pc (used to derive the RawInstruction Object of the stub) 744 // pc (used to derive the RawInstruction Object of the stub)
750 // ..... 745 // .....
751 // This code sets this up with the sequence: 746 // This code sets this up with the sequence:
752 // pushq rbp 747 // pushq rbp
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 } 918 }
924 919
925 920
926 inline void Assembler::EmitOperandSizeOverride() { 921 inline void Assembler::EmitOperandSizeOverride() {
927 EmitUint8(0x66); 922 EmitUint8(0x66);
928 } 923 }
929 924
930 } // namespace dart 925 } // namespace dart
931 926
932 #endif // VM_ASSEMBLER_X64_H_ 927 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_ia32.cc ('k') | runtime/vm/assembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698