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

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

Issue 1343373003: Revert "VM: New calling convention for generated code." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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_arm64.h ('k') | runtime/vm/constants_mips.h » ('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_IA32_H_ 5 #ifndef VM_CONSTANTS_IA32_H_
6 #define VM_CONSTANTS_IA32_H_ 6 #define VM_CONSTANTS_IA32_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 typedef XmmRegister FpuRegister; 56 typedef XmmRegister FpuRegister;
57 const FpuRegister FpuTMP = XMM0; 57 const FpuRegister FpuTMP = XMM0;
58 const int kNumberOfFpuRegisters = kNumberOfXmmRegisters; 58 const int kNumberOfFpuRegisters = kNumberOfXmmRegisters;
59 const FpuRegister kNoFpuRegister = kNoXmmRegister; 59 const FpuRegister kNoFpuRegister = kNoXmmRegister;
60 60
61 61
62 // Register aliases. 62 // Register aliases.
63 const Register TMP = kNoRegister; // No scratch register used by assembler. 63 const Register TMP = kNoRegister; // No scratch register used by assembler.
64 const Register TMP2 = kNoRegister; // No second assembler scratch register. 64 const Register TMP2 = kNoRegister; // No second assembler scratch register.
65 const Register CTX = EDI; // Location of current context at method entry. 65 const Register CTX = EDI; // Location of current context at method entry.
66 const Register CODE_REG = EDI;
67 const Register PP = kNoRegister; // No object pool pointer. 66 const Register PP = kNoRegister; // No object pool pointer.
68 const Register SPREG = ESP; // Stack pointer register. 67 const Register SPREG = ESP; // Stack pointer register.
69 const Register FPREG = EBP; // Frame pointer register. 68 const Register FPREG = EBP; // Frame pointer register.
70 const Register ICREG = ECX; // IC data register. 69 const Register ICREG = ECX; // IC data register.
71 const Register ARGS_DESC_REG = EDX; // Arguments descriptor register. 70 const Register ARGS_DESC_REG = EDX; // Arguments descriptor register.
72 const Register THR = ESI; // Caches current thread in generated code. 71 const Register THR = ESI; // Caches current thread in generated code.
73 72
74 // Exception object is passed in this register to the catch handlers when an 73 // Exception object is passed in this register to the catch handlers when an
75 // exception is thrown. 74 // exception is thrown.
76 const Register kExceptionObjectReg = EAX; 75 const Register kExceptionObjectReg = EAX;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 }; 141 };
143 142
144 143
145 // The largest multibyte nop we will emit. This could go up to 15 if it 144 // The largest multibyte nop we will emit. This could go up to 15 if it
146 // becomes important to us. 145 // becomes important to us.
147 const int MAX_NOP_SIZE = 8; 146 const int MAX_NOP_SIZE = 8;
148 147
149 } // namespace dart 148 } // namespace dart
150 149
151 #endif // VM_CONSTANTS_IA32_H_ 150 #endif // VM_CONSTANTS_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/constants_arm64.h ('k') | runtime/vm/constants_mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698