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

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

Issue 1252703002: VM: Use object pool for loading Symbols::PredefinedAddress in intrinsic code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add missing code on arm64 Created 5 years, 5 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
« no previous file with comments | « no previous file | runtime/vm/intermediate_language_arm.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 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 // ret PC 937 // ret PC
938 // ..... 938 // .....
939 // This code sets this up with the sequence: 939 // This code sets this up with the sequence:
940 // pushq rbp 940 // pushq rbp
941 // movq rbp, rsp 941 // movq rbp, rsp
942 // call L 942 // call L
943 // L: <code to adjust saved pc if there is any intrinsification code> 943 // L: <code to adjust saved pc if there is any intrinsification code>
944 // ... 944 // ...
945 // pushq r15 945 // pushq r15
946 // ..... 946 // .....
947 void EnterDartFrame(intptr_t frame_size);
948 void EnterDartFrameWithInfo(intptr_t frame_size, 947 void EnterDartFrameWithInfo(intptr_t frame_size,
949 Register new_pp, Register pc_marker_override); 948 Register new_pp, Register pc_marker_override);
950 void LeaveDartFrame(); 949 void LeaveDartFrame();
951 950
952 // Set up a Dart frame for a function compiled for on-stack replacement. 951 // Set up a Dart frame for a function compiled for on-stack replacement.
953 // The frame layout is a normal Dart frame, but the frame is partially set 952 // The frame layout is a normal Dart frame, but the frame is partially set
954 // up on entry (it is the frame of the unoptimized code). 953 // up on entry (it is the frame of the unoptimized code).
955 void EnterOsrFrame(intptr_t extra_size, 954 void EnterOsrFrame(intptr_t extra_size,
956 Register new_pp, Register pc_marker_override); 955 Register new_pp, Register pc_marker_override);
957 956
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1215 } 1214 }
1216 1215
1217 1216
1218 inline void Assembler::EmitOperandSizeOverride() { 1217 inline void Assembler::EmitOperandSizeOverride() {
1219 EmitUint8(0x66); 1218 EmitUint8(0x66);
1220 } 1219 }
1221 1220
1222 } // namespace dart 1221 } // namespace dart
1223 1222
1224 #endif // VM_ASSEMBLER_X64_H_ 1223 #endif // VM_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698