| 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 #if V8_TARGET_ARCH_PPC | 5 #if V8_TARGET_ARCH_PPC |
| 6 | 6 |
| 7 #include "src/codegen.h" | 7 #include "src/codegen.h" |
| 8 #include "src/debug/debug.h" | 8 #include "src/debug/debug.h" |
| 9 #include "src/deoptimizer.h" | 9 #include "src/deoptimizer.h" |
| 10 #include "src/full-codegen/full-codegen.h" | 10 #include "src/full-codegen/full-codegen.h" |
| (...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 void Builtins::Generate_JSConstructStubApi(MacroAssembler* masm) { | 698 void Builtins::Generate_JSConstructStubApi(MacroAssembler* masm) { |
| 699 Generate_JSConstructStubHelper(masm, true, true); | 699 Generate_JSConstructStubHelper(masm, true, true); |
| 700 } | 700 } |
| 701 | 701 |
| 702 | 702 |
| 703 void Builtins::Generate_JSBuiltinsConstructStub(MacroAssembler* masm) { | 703 void Builtins::Generate_JSBuiltinsConstructStub(MacroAssembler* masm) { |
| 704 Generate_JSConstructStubHelper(masm, false, false); | 704 Generate_JSConstructStubHelper(masm, false, false); |
| 705 } | 705 } |
| 706 | 706 |
| 707 | 707 |
| 708 void Builtins::Generate_JSBuiltinsConstructStubForDerived( |
| 709 MacroAssembler* masm) { |
| 710 Generate_JSConstructStubHelper(masm, false, false); |
| 711 } |
| 712 |
| 713 |
| 708 void Builtins::Generate_ConstructedNonConstructable(MacroAssembler* masm) { | 714 void Builtins::Generate_ConstructedNonConstructable(MacroAssembler* masm) { |
| 709 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); | 715 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
| 710 __ push(r4); | 716 __ push(r4); |
| 711 __ CallRuntime(Runtime::kThrowConstructedNonConstructable); | 717 __ CallRuntime(Runtime::kThrowConstructedNonConstructable); |
| 712 } | 718 } |
| 713 | 719 |
| 714 | 720 |
| 715 enum IsTagged { kArgcIsSmiTagged, kArgcIsUntaggedInt }; | 721 enum IsTagged { kArgcIsSmiTagged, kArgcIsUntaggedInt }; |
| 716 | 722 |
| 717 | 723 |
| (...skipping 1781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2499 __ bkpt(0); | 2505 __ bkpt(0); |
| 2500 } | 2506 } |
| 2501 } | 2507 } |
| 2502 | 2508 |
| 2503 | 2509 |
| 2504 #undef __ | 2510 #undef __ |
| 2505 } // namespace internal | 2511 } // namespace internal |
| 2506 } // namespace v8 | 2512 } // namespace v8 |
| 2507 | 2513 |
| 2508 #endif // V8_TARGET_ARCH_PPC | 2514 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |