| 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_MIPS64 | 9 #if V8_TARGET_ARCH_MIPS64 |
| 10 | 10 |
| (...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1087 __ Daddu(a0, a0, Operand((kNoCodeAgeSequenceLength))); | 1087 __ Daddu(a0, a0, Operand((kNoCodeAgeSequenceLength))); |
| 1088 __ Jump(a0); | 1088 __ Jump(a0); |
| 1089 } | 1089 } |
| 1090 | 1090 |
| 1091 | 1091 |
| 1092 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { | 1092 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { |
| 1093 GenerateMakeCodeYoungAgainCommon(masm); | 1093 GenerateMakeCodeYoungAgainCommon(masm); |
| 1094 } | 1094 } |
| 1095 | 1095 |
| 1096 | 1096 |
| 1097 void Builtins::Generate_MarkCodeAsToBeExecutedOnce(MacroAssembler* masm) { |
| 1098 Generate_MarkCodeAsExecutedOnce(masm); |
| 1099 } |
| 1100 |
| 1101 |
| 1097 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, | 1102 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, |
| 1098 SaveFPRegsMode save_doubles) { | 1103 SaveFPRegsMode save_doubles) { |
| 1099 { | 1104 { |
| 1100 FrameScope scope(masm, StackFrame::INTERNAL); | 1105 FrameScope scope(masm, StackFrame::INTERNAL); |
| 1101 | 1106 |
| 1102 // Preserve registers across notification, this is important for compiled | 1107 // Preserve registers across notification, this is important for compiled |
| 1103 // stubs that tail call the runtime on deopts passing their parameters in | 1108 // stubs that tail call the runtime on deopts passing their parameters in |
| 1104 // registers. | 1109 // registers. |
| 1105 __ MultiPush(kJSCallerSaved | kCalleeSaved); | 1110 __ MultiPush(kJSCallerSaved | kCalleeSaved); |
| 1106 // Pass the function and deoptimization type to the runtime system. | 1111 // Pass the function and deoptimization type to the runtime system. |
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1816 __ break_(0xCC); | 1821 __ break_(0xCC); |
| 1817 } | 1822 } |
| 1818 } | 1823 } |
| 1819 | 1824 |
| 1820 | 1825 |
| 1821 #undef __ | 1826 #undef __ |
| 1822 | 1827 |
| 1823 } } // namespace v8::internal | 1828 } } // namespace v8::internal |
| 1824 | 1829 |
| 1825 #endif // V8_TARGET_ARCH_MIPS64 | 1830 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |