| 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_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
| 8 | 8 |
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
| 10 | 10 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 data->Initialize(arraysize(registers), registers, NULL); | 74 data->Initialize(arraysize(registers), registers, NULL); |
| 75 } | 75 } |
| 76 | 76 |
| 77 | 77 |
| 78 void NumberToStringDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 78 void NumberToStringDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 79 Register registers[] = {esi, eax}; | 79 Register registers[] = {esi, eax}; |
| 80 data->Initialize(arraysize(registers), registers, NULL); | 80 data->Initialize(arraysize(registers), registers, NULL); |
| 81 } | 81 } |
| 82 | 82 |
| 83 | 83 |
| 84 void TypeofDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 85 Register registers[] = {esi, ebx}; |
| 86 data->Initialize(arraysize(registers), registers, NULL); |
| 87 } |
| 88 |
| 89 |
| 84 void FastCloneShallowArrayDescriptor::Initialize( | 90 void FastCloneShallowArrayDescriptor::Initialize( |
| 85 CallInterfaceDescriptorData* data) { | 91 CallInterfaceDescriptorData* data) { |
| 86 Register registers[] = {esi, eax, ebx, ecx}; | 92 Register registers[] = {esi, eax, ebx, ecx}; |
| 87 Representation representations[] = { | 93 Representation representations[] = { |
| 88 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), | 94 Representation::Tagged(), Representation::Tagged(), Representation::Smi(), |
| 89 Representation::Tagged()}; | 95 Representation::Tagged()}; |
| 90 data->Initialize(arraysize(registers), registers, representations); | 96 data->Initialize(arraysize(registers), registers, representations); |
| 91 } | 97 } |
| 92 | 98 |
| 93 | 99 |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 Representation::Tagged(), // call_data | 362 Representation::Tagged(), // call_data |
| 357 Representation::Tagged(), // holder | 363 Representation::Tagged(), // holder |
| 358 Representation::External(), // api_function_address | 364 Representation::External(), // api_function_address |
| 359 }; | 365 }; |
| 360 data->Initialize(arraysize(registers), registers, representations); | 366 data->Initialize(arraysize(registers), registers, representations); |
| 361 } | 367 } |
| 362 } | 368 } |
| 363 } // namespace v8::internal | 369 } // namespace v8::internal |
| 364 | 370 |
| 365 #endif // V8_TARGET_ARCH_IA32 | 371 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |