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_MIPS | 5 #if V8_TARGET_ARCH_MIPS |
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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 RestoreRegistersStateStub stub(isolate); | 901 RestoreRegistersStateStub stub(isolate); |
902 stub.GetCode(); | 902 stub.GetCode(); |
903 } | 903 } |
904 | 904 |
905 | 905 |
906 void CodeStub::GenerateFPStubs(Isolate* isolate) { | 906 void CodeStub::GenerateFPStubs(Isolate* isolate) { |
907 // Generate if not already in cache. | 907 // Generate if not already in cache. |
908 SaveFPRegsMode mode = kSaveFPRegs; | 908 SaveFPRegsMode mode = kSaveFPRegs; |
909 CEntryStub(isolate, 1, mode).GetCode(); | 909 CEntryStub(isolate, 1, mode).GetCode(); |
910 StoreBufferOverflowStub(isolate, mode).GetCode(); | 910 StoreBufferOverflowStub(isolate, mode).GetCode(); |
911 isolate->set_fp_stubs_generated(true); | |
912 } | 911 } |
913 | 912 |
914 | 913 |
915 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) { | 914 void CEntryStub::GenerateAheadOfTime(Isolate* isolate) { |
916 CEntryStub stub(isolate, 1, kDontSaveFPRegs); | 915 CEntryStub stub(isolate, 1, kDontSaveFPRegs); |
917 stub.GetCode(); | 916 stub.GetCode(); |
918 } | 917 } |
919 | 918 |
920 | 919 |
921 void CEntryStub::Generate(MacroAssembler* masm) { | 920 void CEntryStub::Generate(MacroAssembler* masm) { |
(...skipping 3364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4286 kStackUnwindSpace, kInvalidStackOffset, | 4285 kStackUnwindSpace, kInvalidStackOffset, |
4287 return_value_operand, NULL); | 4286 return_value_operand, NULL); |
4288 } | 4287 } |
4289 | 4288 |
4290 #undef __ | 4289 #undef __ |
4291 | 4290 |
4292 } // namespace internal | 4291 } // namespace internal |
4293 } // namespace v8 | 4292 } // namespace v8 |
4294 | 4293 |
4295 #endif // V8_TARGET_ARCH_MIPS | 4294 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |