| 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 2502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2513 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 4), xmm10); | 2513 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 4), xmm10); |
| 2514 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 5), xmm11); | 2514 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 5), xmm11); |
| 2515 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 6), xmm12); | 2515 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 6), xmm12); |
| 2516 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 7), xmm13); | 2516 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 7), xmm13); |
| 2517 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 8), xmm14); | 2517 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 8), xmm14); |
| 2518 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 9), xmm15); | 2518 __ movdqu(Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 9), xmm15); |
| 2519 #endif | 2519 #endif |
| 2520 | 2520 |
| 2521 // Set up the roots and smi constant registers. | 2521 // Set up the roots and smi constant registers. |
| 2522 // Needs to be done before any further smi loads. | 2522 // Needs to be done before any further smi loads. |
| 2523 __ InitializeSmiConstantRegister(); | |
| 2524 __ InitializeRootRegister(); | 2523 __ InitializeRootRegister(); |
| 2525 } | 2524 } |
| 2526 | 2525 |
| 2527 // Save copies of the top frame descriptor on the stack. | 2526 // Save copies of the top frame descriptor on the stack. |
| 2528 ExternalReference c_entry_fp(Isolate::kCEntryFPAddress, isolate()); | 2527 ExternalReference c_entry_fp(Isolate::kCEntryFPAddress, isolate()); |
| 2529 { | 2528 { |
| 2530 Operand c_entry_fp_operand = masm->ExternalOperand(c_entry_fp); | 2529 Operand c_entry_fp_operand = masm->ExternalOperand(c_entry_fp); |
| 2531 __ Push(c_entry_fp_operand); | 2530 __ Push(c_entry_fp_operand); |
| 2532 } | 2531 } |
| 2533 | 2532 |
| (...skipping 2562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5096 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, getter_arg, | 5095 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, getter_arg, |
| 5097 kStackSpace, nullptr, return_value_operand, NULL); | 5096 kStackSpace, nullptr, return_value_operand, NULL); |
| 5098 } | 5097 } |
| 5099 | 5098 |
| 5100 | 5099 |
| 5101 #undef __ | 5100 #undef __ |
| 5102 | 5101 |
| 5103 } } // namespace v8::internal | 5102 } } // namespace v8::internal |
| 5104 | 5103 |
| 5105 #endif // V8_TARGET_ARCH_X64 | 5104 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |