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 | 5 |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
10 | 10 |
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1080 __ Addu(a0, a0, Operand(kNoCodeAgeSequenceLength)); | 1080 __ Addu(a0, a0, Operand(kNoCodeAgeSequenceLength)); |
1081 __ Jump(a0); | 1081 __ Jump(a0); |
1082 } | 1082 } |
1083 | 1083 |
1084 | 1084 |
1085 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { | 1085 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { |
1086 GenerateMakeCodeYoungAgainCommon(masm); | 1086 GenerateMakeCodeYoungAgainCommon(masm); |
1087 } | 1087 } |
1088 | 1088 |
1089 | 1089 |
| 1090 void Builtins::Generate_MarkCodeAsToBeExecutedOnce(MacroAssembler* masm) { |
| 1091 Generate_MarkCodeAsExecutedOnce(masm); |
| 1092 } |
| 1093 |
| 1094 |
1090 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, | 1095 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, |
1091 SaveFPRegsMode save_doubles) { | 1096 SaveFPRegsMode save_doubles) { |
1092 { | 1097 { |
1093 FrameScope scope(masm, StackFrame::INTERNAL); | 1098 FrameScope scope(masm, StackFrame::INTERNAL); |
1094 | 1099 |
1095 // Preserve registers across notification, this is important for compiled | 1100 // Preserve registers across notification, this is important for compiled |
1096 // stubs that tail call the runtime on deopts passing their parameters in | 1101 // stubs that tail call the runtime on deopts passing their parameters in |
1097 // registers. | 1102 // registers. |
1098 __ MultiPush(kJSCallerSaved | kCalleeSaved); | 1103 __ MultiPush(kJSCallerSaved | kCalleeSaved); |
1099 // Pass the function and deoptimization type to the runtime system. | 1104 // Pass the function and deoptimization type to the runtime system. |
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1807 __ break_(0xCC); | 1812 __ break_(0xCC); |
1808 } | 1813 } |
1809 } | 1814 } |
1810 | 1815 |
1811 | 1816 |
1812 #undef __ | 1817 #undef __ |
1813 | 1818 |
1814 } } // namespace v8::internal | 1819 } } // namespace v8::internal |
1815 | 1820 |
1816 #endif // V8_TARGET_ARCH_MIPS | 1821 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |