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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_PPC | 7 #if V8_TARGET_ARCH_PPC |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/debug.h" | 10 #include "src/debug.h" |
(...skipping 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1065 __ addi(r3, ip, Operand(kNoCodeAgeSequenceLength)); | 1065 __ addi(r3, ip, Operand(kNoCodeAgeSequenceLength)); |
1066 __ Jump(r3); | 1066 __ Jump(r3); |
1067 } | 1067 } |
1068 | 1068 |
1069 | 1069 |
1070 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { | 1070 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { |
1071 GenerateMakeCodeYoungAgainCommon(masm); | 1071 GenerateMakeCodeYoungAgainCommon(masm); |
1072 } | 1072 } |
1073 | 1073 |
1074 | 1074 |
| 1075 void Builtins::Generate_MarkCodeAsToBeExecutedOnce(MacroAssembler* masm) { |
| 1076 Generate_MarkCodeAsExecutedOnce(masm); |
| 1077 } |
| 1078 |
| 1079 |
1075 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, | 1080 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, |
1076 SaveFPRegsMode save_doubles) { | 1081 SaveFPRegsMode save_doubles) { |
1077 { | 1082 { |
1078 FrameScope scope(masm, StackFrame::INTERNAL); | 1083 FrameScope scope(masm, StackFrame::INTERNAL); |
1079 | 1084 |
1080 // Preserve registers across notification, this is important for compiled | 1085 // Preserve registers across notification, this is important for compiled |
1081 // stubs that tail call the runtime on deopts passing their parameters in | 1086 // stubs that tail call the runtime on deopts passing their parameters in |
1082 // registers. | 1087 // registers. |
1083 __ MultiPush(kJSCallerSaved | kCalleeSaved); | 1088 __ MultiPush(kJSCallerSaved | kCalleeSaved); |
1084 // Pass the function and deoptimization type to the runtime system. | 1089 // Pass the function and deoptimization type to the runtime system. |
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1824 __ bkpt(0); | 1829 __ bkpt(0); |
1825 } | 1830 } |
1826 } | 1831 } |
1827 | 1832 |
1828 | 1833 |
1829 #undef __ | 1834 #undef __ |
1830 } | 1835 } |
1831 } // namespace v8::internal | 1836 } // namespace v8::internal |
1832 | 1837 |
1833 #endif // V8_TARGET_ARCH_PPC | 1838 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |