OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 void ToBooleanStub::InitializeInterfaceDescriptor( | 215 void ToBooleanStub::InitializeInterfaceDescriptor( |
216 CodeStubInterfaceDescriptor* descriptor) { | 216 CodeStubInterfaceDescriptor* descriptor) { |
217 Register registers[] = { rax }; | 217 Register registers[] = { rax }; |
218 descriptor->Initialize(ARRAY_SIZE(registers), registers, | 218 descriptor->Initialize(ARRAY_SIZE(registers), registers, |
219 FUNCTION_ADDR(ToBooleanIC_Miss)); | 219 FUNCTION_ADDR(ToBooleanIC_Miss)); |
220 descriptor->SetMissHandler( | 220 descriptor->SetMissHandler( |
221 ExternalReference(IC_Utility(IC::kToBooleanIC_Miss), isolate())); | 221 ExternalReference(IC_Utility(IC::kToBooleanIC_Miss), isolate())); |
222 } | 222 } |
223 | 223 |
224 | 224 |
| 225 void ElementsTransitionAndStoreStub::InitializeInterfaceDescriptor( |
| 226 CodeStubInterfaceDescriptor* descriptor) { |
| 227 Register registers[] = { rax, rbx, rcx, rdx }; |
| 228 descriptor->Initialize(ARRAY_SIZE(registers), registers, |
| 229 FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss)); |
| 230 } |
| 231 |
| 232 |
225 void BinaryOpICStub::InitializeInterfaceDescriptor( | 233 void BinaryOpICStub::InitializeInterfaceDescriptor( |
226 CodeStubInterfaceDescriptor* descriptor) { | 234 CodeStubInterfaceDescriptor* descriptor) { |
227 Register registers[] = { rdx, rax }; | 235 Register registers[] = { rdx, rax }; |
228 descriptor->Initialize(ARRAY_SIZE(registers), registers, | 236 descriptor->Initialize(ARRAY_SIZE(registers), registers, |
229 FUNCTION_ADDR(BinaryOpIC_Miss)); | 237 FUNCTION_ADDR(BinaryOpIC_Miss)); |
230 descriptor->SetMissHandler( | 238 descriptor->SetMissHandler( |
231 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); | 239 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); |
232 } | 240 } |
233 | 241 |
234 | 242 |
(...skipping 4679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4914 return_value_operand, | 4922 return_value_operand, |
4915 NULL); | 4923 NULL); |
4916 } | 4924 } |
4917 | 4925 |
4918 | 4926 |
4919 #undef __ | 4927 #undef __ |
4920 | 4928 |
4921 } } // namespace v8::internal | 4929 } } // namespace v8::internal |
4922 | 4930 |
4923 #endif // V8_TARGET_ARCH_X64 | 4931 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |