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_X87 | 7 #if V8_TARGET_ARCH_X87 |
8 | 8 |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 void ToBooleanStub::InitializeInterfaceDescriptor( | 218 void ToBooleanStub::InitializeInterfaceDescriptor( |
219 CodeStubInterfaceDescriptor* descriptor) { | 219 CodeStubInterfaceDescriptor* descriptor) { |
220 Register registers[] = { eax }; | 220 Register registers[] = { eax }; |
221 descriptor->Initialize(ARRAY_SIZE(registers), registers, | 221 descriptor->Initialize(ARRAY_SIZE(registers), registers, |
222 FUNCTION_ADDR(ToBooleanIC_Miss)); | 222 FUNCTION_ADDR(ToBooleanIC_Miss)); |
223 descriptor->SetMissHandler( | 223 descriptor->SetMissHandler( |
224 ExternalReference(IC_Utility(IC::kToBooleanIC_Miss), isolate())); | 224 ExternalReference(IC_Utility(IC::kToBooleanIC_Miss), isolate())); |
225 } | 225 } |
226 | 226 |
227 | 227 |
228 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor( | |
229 CodeStubInterfaceDescriptor* descriptor) { | |
230 Register registers[] = { eax, ebx, ecx, edx }; | |
231 descriptor->Initialize(ARRAY_SIZE(registers), registers, | |
232 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss)); | |
233 } | |
234 | |
235 | |
236 void BinaryOpICStub::InitializeInterfaceDescriptor( | 228 void BinaryOpICStub::InitializeInterfaceDescriptor( |
237 CodeStubInterfaceDescriptor* descriptor) { | 229 CodeStubInterfaceDescriptor* descriptor) { |
238 Register registers[] = { edx, eax }; | 230 Register registers[] = { edx, eax }; |
239 descriptor->Initialize(ARRAY_SIZE(registers), registers, | 231 descriptor->Initialize(ARRAY_SIZE(registers), registers, |
240 FUNCTION_ADDR(BinaryOpIC_Miss)); | 232 FUNCTION_ADDR(BinaryOpIC_Miss)); |
241 descriptor->SetMissHandler( | 233 descriptor->SetMissHandler( |
242 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); | 234 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); |
243 } | 235 } |
244 | 236 |
245 | 237 |
(...skipping 4370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4616 Operand(ebp, 7 * kPointerSize), | 4608 Operand(ebp, 7 * kPointerSize), |
4617 NULL); | 4609 NULL); |
4618 } | 4610 } |
4619 | 4611 |
4620 | 4612 |
4621 #undef __ | 4613 #undef __ |
4622 | 4614 |
4623 } } // namespace v8::internal | 4615 } } // namespace v8::internal |
4624 | 4616 |
4625 #endif // V8_TARGET_ARCH_X87 | 4617 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |