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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 data->InitializePlatformSpecific(arraysize(registers), registers); | 75 data->InitializePlatformSpecific(arraysize(registers), registers); |
76 } | 76 } |
77 | 77 |
78 | 78 |
79 void FastNewContextDescriptor::InitializePlatformSpecific( | 79 void FastNewContextDescriptor::InitializePlatformSpecific( |
80 CallInterfaceDescriptorData* data) { | 80 CallInterfaceDescriptorData* data) { |
81 Register registers[] = {rdi}; | 81 Register registers[] = {rdi}; |
82 data->InitializePlatformSpecific(arraysize(registers), registers); | 82 data->InitializePlatformSpecific(arraysize(registers), registers); |
83 } | 83 } |
84 | 84 |
| 85 void FastNewObjectDescriptor::InitializePlatformSpecific( |
| 86 CallInterfaceDescriptorData* data) { |
| 87 Register registers[] = {rdi, rdx}; |
| 88 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 89 } |
85 | 90 |
86 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 91 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
87 CallInterfaceDescriptorData* data) { | 92 CallInterfaceDescriptorData* data) { |
88 Register registers[] = {rdi}; | 93 Register registers[] = {rdi}; |
89 data->InitializePlatformSpecific(arraysize(registers), registers); | 94 data->InitializePlatformSpecific(arraysize(registers), registers); |
90 } | 95 } |
91 | 96 |
92 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( | 97 void FastNewSloppyArgumentsDescriptor::InitializePlatformSpecific( |
93 CallInterfaceDescriptorData* data) { | 98 CallInterfaceDescriptorData* data) { |
94 Register registers[] = {rdi}; | 99 Register registers[] = {rdi}; |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 r15, // address of first argument (argv) | 450 r15, // address of first argument (argv) |
446 rbx // the runtime function to call | 451 rbx // the runtime function to call |
447 }; | 452 }; |
448 data->InitializePlatformSpecific(arraysize(registers), registers); | 453 data->InitializePlatformSpecific(arraysize(registers), registers); |
449 } | 454 } |
450 | 455 |
451 } // namespace internal | 456 } // namespace internal |
452 } // namespace v8 | 457 } // namespace v8 |
453 | 458 |
454 #endif // V8_TARGET_ARCH_X64 | 459 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |