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_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
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/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 RestoreRegistersStateStub stub(isolate); | 898 RestoreRegistersStateStub stub(isolate); |
899 stub.GetCode(); | 899 stub.GetCode(); |
900 } | 900 } |
901 | 901 |
902 | 902 |
903 void CodeStub::GenerateFPStubs(Isolate* isolate) { | 903 void CodeStub::GenerateFPStubs(Isolate* isolate) { |
904 // Generate if not already in cache. | 904 // Generate if not already in cache. |
905 SaveFPRegsMode mode = kSaveFPRegs; | 905 SaveFPRegsMode mode = kSaveFPRegs; |
906 CEntryStub(isolate, 1, mode).GetCode(); | 906 CEntryStub(isolate, 1, mode).GetCode(); |
907 StoreBufferOverflowStub(isolate, mode).GetCode(); | 907 StoreBufferOverflowStub(isolate, mode).GetCode(); |
908 isolate->set_fp_stubs_generated(true); | |
909 } | 908 } |
910 | 909 |
911 | 910 |
912 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) { | 911 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) { |
913 CEntryStub stub(isolate, 1, kDontSaveFPRegs); | 912 CEntryStub stub(isolate, 1, kDontSaveFPRegs); |
914 stub.GetCode(); | 913 stub.GetCode(); |
915 } | 914 } |
916 | 915 |
917 | 916 |
918 void CEntryStub::Generate(MacroAssembler* masm) { | 917 void CEntryStub::Generate(MacroAssembler* masm) { |
(...skipping 3392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4311 kStackUnwindSpace, kInvalidStackOffset, | 4310 kStackUnwindSpace, kInvalidStackOffset, |
4312 return_value_operand, NULL); | 4311 return_value_operand, NULL); |
4313 } | 4312 } |
4314 | 4313 |
4315 #undef __ | 4314 #undef __ |
4316 | 4315 |
4317 } // namespace internal | 4316 } // namespace internal |
4318 } // namespace v8 | 4317 } // namespace v8 |
4319 | 4318 |
4320 #endif // V8_TARGET_ARCH_MIPS64 | 4319 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |