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

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

Issue 2003403003: ARM/ARM64: Fix smashed CODE_REG in intrinsics with InvokeMathCFunctionInstrs. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « runtime/vm/constants_arm.h ('k') | runtime/vm/intermediate_language_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_CONSTANTS_X64_H_ 5 #ifndef VM_CONSTANTS_X64_H_
6 #define VM_CONSTANTS_X64_H_ 6 #define VM_CONSTANTS_X64_H_
7 7
8 namespace dart { 8 namespace dart {
9 9
10 enum Register { 10 enum Register {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const Register TMP2 = kNoRegister; // No second assembler scratch register. 86 const Register TMP2 = kNoRegister; // No second assembler scratch register.
87 const Register CTX = R12; // Location of current context at method entry. 87 const Register CTX = R12; // Location of current context at method entry.
88 // Caches object pool pointer in generated code. 88 // Caches object pool pointer in generated code.
89 const Register PP = R15; 89 const Register PP = R15;
90 const Register SPREG = RSP; // Stack pointer register. 90 const Register SPREG = RSP; // Stack pointer register.
91 const Register FPREG = RBP; // Frame pointer register. 91 const Register FPREG = RBP; // Frame pointer register.
92 const Register ICREG = RBX; // IC data register. 92 const Register ICREG = RBX; // IC data register.
93 const Register ARGS_DESC_REG = R10; // Arguments descriptor register. 93 const Register ARGS_DESC_REG = R10; // Arguments descriptor register.
94 const Register CODE_REG = R12; 94 const Register CODE_REG = R12;
95 const Register THR = R14; // Caches current thread in generated code. 95 const Register THR = R14; // Caches current thread in generated code.
96 const Register CALLEE_SAVED_TEMP = R13; 96 const Register CALLEE_SAVED_TEMP = RBX;
97 97
98 // Exception object is passed in this register to the catch handlers when an 98 // Exception object is passed in this register to the catch handlers when an
99 // exception is thrown. 99 // exception is thrown.
100 const Register kExceptionObjectReg = RAX; 100 const Register kExceptionObjectReg = RAX;
101 101
102 // Stack trace object is passed in this register to the catch handlers when 102 // Stack trace object is passed in this register to the catch handlers when
103 // an exception is thrown. 103 // an exception is thrown.
104 const Register kStackTraceObjectReg = RDX; 104 const Register kStackTraceObjectReg = RDX;
105 105
106 106
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 }; 236 };
237 237
238 238
239 // The largest multibyte nop we will emit. This could go up to 15 if it 239 // The largest multibyte nop we will emit. This could go up to 15 if it
240 // becomes important to us. 240 // becomes important to us.
241 const int MAX_NOP_SIZE = 8; 241 const int MAX_NOP_SIZE = 8;
242 242
243 } // namespace dart 243 } // namespace dart
244 244
245 #endif // VM_CONSTANTS_X64_H_ 245 #endif // VM_CONSTANTS_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/constants_arm.h ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698