| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #if V8_TARGET_ARCH_X64 | 5 #if V8_TARGET_ARCH_X64 |
| 6 | 6 |
| 7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
| 8 | 8 |
| 9 namespace v8 { | 9 namespace v8 { |
| 10 namespace internal { | 10 namespace internal { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 | 41 |
| 42 const Register VectorStoreTransitionDescriptor::SlotRegister() { return rdi; } | 42 const Register VectorStoreTransitionDescriptor::SlotRegister() { return rdi; } |
| 43 const Register VectorStoreTransitionDescriptor::VectorRegister() { return rbx; } | 43 const Register VectorStoreTransitionDescriptor::VectorRegister() { return rbx; } |
| 44 const Register VectorStoreTransitionDescriptor::MapRegister() { return r11; } | 44 const Register VectorStoreTransitionDescriptor::MapRegister() { return r11; } |
| 45 | 45 |
| 46 | 46 |
| 47 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } | 47 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } |
| 48 | 48 |
| 49 | 49 |
| 50 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return rbx; } | |
| 51 | |
| 52 | |
| 53 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; } | 50 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; } |
| 54 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return rax; } | 51 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return rax; } |
| 55 | 52 |
| 56 | 53 |
| 57 const Register StringCompareDescriptor::LeftRegister() { return rdx; } | 54 const Register StringCompareDescriptor::LeftRegister() { return rdx; } |
| 58 const Register StringCompareDescriptor::RightRegister() { return rax; } | 55 const Register StringCompareDescriptor::RightRegister() { return rax; } |
| 59 | 56 |
| 60 const Register ApiGetterDescriptor::HolderRegister() { return rcx; } | 57 const Register ApiGetterDescriptor::HolderRegister() { return rcx; } |
| 61 const Register ApiGetterDescriptor::CallbackRegister() { return rbx; } | 58 const Register ApiGetterDescriptor::CallbackRegister() { return rbx; } |
| 62 | 59 |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 rbx, // the JSGeneratorObject to resume | 408 rbx, // the JSGeneratorObject to resume |
| 412 rdx // the resume mode (tagged) | 409 rdx // the resume mode (tagged) |
| 413 }; | 410 }; |
| 414 data->InitializePlatformSpecific(arraysize(registers), registers); | 411 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 415 } | 412 } |
| 416 | 413 |
| 417 } // namespace internal | 414 } // namespace internal |
| 418 } // namespace v8 | 415 } // namespace v8 |
| 419 | 416 |
| 420 #endif // V8_TARGET_ARCH_X64 | 417 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |