| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/ic/handler-compiler.h" | 7 #include "src/ic/handler-compiler.h" |
| 8 | 8 |
| 9 #include "src/api-arguments.h" | 9 #include "src/api-arguments.h" |
| 10 #include "src/field-type.h" | 10 #include "src/field-type.h" |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 } | 320 } |
| 321 __ ret(0); | 321 __ ret(0); |
| 322 } | 322 } |
| 323 | 323 |
| 324 | 324 |
| 325 static void StoreIC_PushArgs(MacroAssembler* masm) { | 325 static void StoreIC_PushArgs(MacroAssembler* masm) { |
| 326 Register receiver = StoreDescriptor::ReceiverRegister(); | 326 Register receiver = StoreDescriptor::ReceiverRegister(); |
| 327 Register name = StoreDescriptor::NameRegister(); | 327 Register name = StoreDescriptor::NameRegister(); |
| 328 Register value = StoreDescriptor::ValueRegister(); | 328 Register value = StoreDescriptor::ValueRegister(); |
| 329 | 329 |
| 330 Register slot = VectorStoreICDescriptor::SlotRegister(); | 330 Register slot = StoreWithVectorDescriptor::SlotRegister(); |
| 331 Register vector = VectorStoreICDescriptor::VectorRegister(); | 331 Register vector = StoreWithVectorDescriptor::VectorRegister(); |
| 332 | 332 |
| 333 __ PopReturnAddressTo(r11); | 333 __ PopReturnAddressTo(r11); |
| 334 __ Push(receiver); | 334 __ Push(receiver); |
| 335 __ Push(name); | 335 __ Push(name); |
| 336 __ Push(value); | 336 __ Push(value); |
| 337 __ Push(slot); | 337 __ Push(slot); |
| 338 __ Push(vector); | 338 __ Push(vector); |
| 339 __ PushReturnAddressFrom(r11); | 339 __ PushReturnAddressFrom(r11); |
| 340 } | 340 } |
| 341 | 341 |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 // Return the generated code. | 708 // Return the generated code. |
| 709 return GetCode(kind(), name); | 709 return GetCode(kind(), name); |
| 710 } | 710 } |
| 711 | 711 |
| 712 | 712 |
| 713 #undef __ | 713 #undef __ |
| 714 } // namespace internal | 714 } // namespace internal |
| 715 } // namespace v8 | 715 } // namespace v8 |
| 716 | 716 |
| 717 #endif // V8_TARGET_ARCH_X64 | 717 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |