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_S390 | 5 #if V8_TARGET_ARCH_S390 |
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 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 | 832 |
833 void RestoreRegistersStateStub::GenerateAheadOfTime(Isolate* isolate) { | 833 void RestoreRegistersStateStub::GenerateAheadOfTime(Isolate* isolate) { |
834 RestoreRegistersStateStub stub(isolate); | 834 RestoreRegistersStateStub stub(isolate); |
835 stub.GetCode(); | 835 stub.GetCode(); |
836 } | 836 } |
837 | 837 |
838 void CodeStub::GenerateFPStubs(Isolate* isolate) { | 838 void CodeStub::GenerateFPStubs(Isolate* isolate) { |
839 SaveFPRegsMode mode = kSaveFPRegs; | 839 SaveFPRegsMode mode = kSaveFPRegs; |
840 CEntryStub(isolate, 1, mode).GetCode(); | 840 CEntryStub(isolate, 1, mode).GetCode(); |
841 StoreBufferOverflowStub(isolate, mode).GetCode(); | 841 StoreBufferOverflowStub(isolate, mode).GetCode(); |
842 isolate->set_fp_stubs_generated(true); | |
843 } | 842 } |
844 | 843 |
845 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) { | 844 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) { |
846 CEntryStub stub(isolate, 1, kDontSaveFPRegs); | 845 CEntryStub stub(isolate, 1, kDontSaveFPRegs); |
847 stub.GetCode(); | 846 stub.GetCode(); |
848 } | 847 } |
849 | 848 |
850 void CEntryStub::Generate(MacroAssembler* masm) { | 849 void CEntryStub::Generate(MacroAssembler* masm) { |
851 // Called from JavaScript; parameters are on stack as if calling JS function. | 850 // Called from JavaScript; parameters are on stack as if calling JS function. |
852 // r2: number of arguments including receiver | 851 // r2: number of arguments including receiver |
(...skipping 3421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4274 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, | 4273 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, |
4275 kStackUnwindSpace, NULL, return_value_operand, NULL); | 4274 kStackUnwindSpace, NULL, return_value_operand, NULL); |
4276 } | 4275 } |
4277 | 4276 |
4278 #undef __ | 4277 #undef __ |
4279 | 4278 |
4280 } // namespace internal | 4279 } // namespace internal |
4281 } // namespace v8 | 4280 } // namespace v8 |
4282 | 4281 |
4283 #endif // V8_TARGET_ARCH_S390 | 4282 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |