| 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 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_X64 | 7 #if V8_TARGET_ARCH_X64 |
| 8 | 8 |
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
| 10 | 10 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 data->Initialize(arraysize(registers), registers, NULL); | 66 data->Initialize(arraysize(registers), registers, NULL); |
| 67 } | 67 } |
| 68 | 68 |
| 69 | 69 |
| 70 void FastNewContextDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 70 void FastNewContextDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 71 Register registers[] = {rsi, rdi}; | 71 Register registers[] = {rsi, rdi}; |
| 72 data->Initialize(arraysize(registers), registers, NULL); | 72 data->Initialize(arraysize(registers), registers, NULL); |
| 73 } | 73 } |
| 74 | 74 |
| 75 | 75 |
| 76 void TypeofDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 77 Register registers[] = {rsi, rbx}; |
| 78 data->Initialize(arraysize(registers), registers, NULL); |
| 79 } |
| 80 |
| 81 |
| 76 void ToNumberDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 82 void ToNumberDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 77 // ToNumberStub invokes a function, and therefore needs a context. | 83 // ToNumberStub invokes a function, and therefore needs a context. |
| 78 Register registers[] = {rsi, rax}; | 84 Register registers[] = {rsi, rax}; |
| 79 data->Initialize(arraysize(registers), registers, NULL); | 85 data->Initialize(arraysize(registers), registers, NULL); |
| 80 } | 86 } |
| 81 | 87 |
| 82 | 88 |
| 83 void NumberToStringDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 89 void NumberToStringDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 84 Register registers[] = {rsi, rax}; | 90 Register registers[] = {rsi, rax}; |
| 85 data->Initialize(arraysize(registers), registers, NULL); | 91 data->Initialize(arraysize(registers), registers, NULL); |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 Representation::Tagged(), // call_data | 368 Representation::Tagged(), // call_data |
| 363 Representation::Tagged(), // holder | 369 Representation::Tagged(), // holder |
| 364 Representation::External(), // api_function_address | 370 Representation::External(), // api_function_address |
| 365 }; | 371 }; |
| 366 data->Initialize(arraysize(registers), registers, representations); | 372 data->Initialize(arraysize(registers), registers, representations); |
| 367 } | 373 } |
| 368 } | 374 } |
| 369 } // namespace v8::internal | 375 } // namespace v8::internal |
| 370 | 376 |
| 371 #endif // V8_TARGET_ARCH_X64 | 377 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |