| OLD | NEW | 
|    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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   61 const Register TMP = kNoRegister;  // No scratch register used by assembler. |   61 const Register TMP = kNoRegister;  // No scratch register used by assembler. | 
|   62 const Register TMP2 = kNoRegister;  // No second assembler scratch register. |   62 const Register TMP2 = kNoRegister;  // No second assembler scratch register. | 
|   63 const Register CTX = EDI;  // Location of current context at method entry. |   63 const Register CTX = EDI;  // Location of current context at method entry. | 
|   64 const Register CODE_REG = EDI; |   64 const Register CODE_REG = EDI; | 
|   65 const Register PP = kNoRegister;  // No object pool pointer. |   65 const Register PP = kNoRegister;  // No object pool pointer. | 
|   66 const Register SPREG = ESP;  // Stack pointer register. |   66 const Register SPREG = ESP;  // Stack pointer register. | 
|   67 const Register FPREG = EBP;  // Frame pointer register. |   67 const Register FPREG = EBP;  // Frame pointer register. | 
|   68 const Register ICREG = ECX;  // IC data register. |   68 const Register ICREG = ECX;  // IC data register. | 
|   69 const Register ARGS_DESC_REG = EDX;  // Arguments descriptor register. |   69 const Register ARGS_DESC_REG = EDX;  // Arguments descriptor register. | 
|   70 const Register THR = ESI;  // Caches current thread in generated code. |   70 const Register THR = ESI;  // Caches current thread in generated code. | 
|   71  |   71 const Register CALLEE_SAVED_TEMP = EAX; | 
 |   72 const Register CALLEE_SAVED_TEMP2 = EDI; | 
|   72  |   73  | 
|   73 // Exception object is passed in this register to the catch handlers when an |   74 // Exception object is passed in this register to the catch handlers when an | 
|   74 // exception is thrown. |   75 // exception is thrown. | 
|   75 const Register kExceptionObjectReg = EAX; |   76 const Register kExceptionObjectReg = EAX; | 
|   76  |   77  | 
|   77 // Stack trace object is passed in this register to the catch handlers when |   78 // Stack trace object is passed in this register to the catch handlers when | 
|   78 // an exception is thrown. |   79 // an exception is thrown. | 
|   79 const Register kStackTraceObjectReg = EDX; |   80 const Register kStackTraceObjectReg = EDX; | 
|   80  |   81  | 
|   81  |   82  | 
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  153 }; |  154 }; | 
|  154  |  155  | 
|  155  |  156  | 
|  156 // The largest multibyte nop we will emit.  This could go up to 15 if it |  157 // The largest multibyte nop we will emit.  This could go up to 15 if it | 
|  157 // becomes important to us. |  158 // becomes important to us. | 
|  158 const int MAX_NOP_SIZE = 8; |  159 const int MAX_NOP_SIZE = 8; | 
|  159  |  160  | 
|  160 }  // namespace dart |  161 }  // namespace dart | 
|  161  |  162  | 
|  162 #endif  // VM_CONSTANTS_IA32_H_ |  163 #endif  // VM_CONSTANTS_IA32_H_ | 
| OLD | NEW |