| 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 #if V8_TARGET_ARCH_ARM | 5 #if V8_TARGET_ARCH_ARM |
| 6 | 6 |
| 7 #include "src/code-stubs.h" | 7 #include "src/code-stubs.h" |
| 8 #include "src/api-arguments.h" | 8 #include "src/api-arguments.h" |
| 9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
| 10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
| (...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); | 790 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); |
| 791 StoreFastElementStub::GenerateAheadOfTime(isolate); | 791 StoreFastElementStub::GenerateAheadOfTime(isolate); |
| 792 } | 792 } |
| 793 | 793 |
| 794 | 794 |
| 795 void CodeStub::GenerateFPStubs(Isolate* isolate) { | 795 void CodeStub::GenerateFPStubs(Isolate* isolate) { |
| 796 // Generate if not already in cache. | 796 // Generate if not already in cache. |
| 797 SaveFPRegsMode mode = kSaveFPRegs; | 797 SaveFPRegsMode mode = kSaveFPRegs; |
| 798 CEntryStub(isolate, 1, mode).GetCode(); | 798 CEntryStub(isolate, 1, mode).GetCode(); |
| 799 StoreBufferOverflowStub(isolate, mode).GetCode(); | 799 StoreBufferOverflowStub(isolate, mode).GetCode(); |
| 800 isolate->set_fp_stubs_generated(true); | |
| 801 } | 800 } |
| 802 | 801 |
| 803 | 802 |
| 804 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) { | 803 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) { |
| 805 CEntryStub stub(isolate, 1, kDontSaveFPRegs); | 804 CEntryStub stub(isolate, 1, kDontSaveFPRegs); |
| 806 stub.GetCode(); | 805 stub.GetCode(); |
| 807 } | 806 } |
| 808 | 807 |
| 809 | 808 |
| 810 void CEntryStub::Generate(MacroAssembler* masm) { | 809 void CEntryStub::Generate(MacroAssembler* masm) { |
| (...skipping 3275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4086 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, | 4085 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, |
| 4087 kStackUnwindSpace, NULL, return_value_operand, NULL); | 4086 kStackUnwindSpace, NULL, return_value_operand, NULL); |
| 4088 } | 4087 } |
| 4089 | 4088 |
| 4090 #undef __ | 4089 #undef __ |
| 4091 | 4090 |
| 4092 } // namespace internal | 4091 } // namespace internal |
| 4093 } // namespace v8 | 4092 } // namespace v8 |
| 4094 | 4093 |
| 4095 #endif // V8_TARGET_ARCH_ARM | 4094 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |