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_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 void Builtins::Generate_JSConstructStubApi(MacroAssembler* masm) { | 695 void Builtins::Generate_JSConstructStubApi(MacroAssembler* masm) { |
696 Generate_JSConstructStubHelper(masm, true, true); | 696 Generate_JSConstructStubHelper(masm, true, true); |
697 } | 697 } |
698 | 698 |
699 | 699 |
700 void Builtins::Generate_JSBuiltinsConstructStub(MacroAssembler* masm) { | 700 void Builtins::Generate_JSBuiltinsConstructStub(MacroAssembler* masm) { |
701 Generate_JSConstructStubHelper(masm, false, false); | 701 Generate_JSConstructStubHelper(masm, false, false); |
702 } | 702 } |
703 | 703 |
704 | 704 |
| 705 void Builtins::Generate_JSBuiltinsConstructStubForDerived( |
| 706 MacroAssembler* masm) { |
| 707 Generate_JSConstructStubHelper(masm, false, false); |
| 708 } |
| 709 |
| 710 |
705 void Builtins::Generate_ConstructedNonConstructable(MacroAssembler* masm) { | 711 void Builtins::Generate_ConstructedNonConstructable(MacroAssembler* masm) { |
706 FrameScope scope(masm, StackFrame::INTERNAL); | 712 FrameScope scope(masm, StackFrame::INTERNAL); |
707 __ Push(a1); | 713 __ Push(a1); |
708 __ CallRuntime(Runtime::kThrowConstructedNonConstructable); | 714 __ CallRuntime(Runtime::kThrowConstructedNonConstructable); |
709 } | 715 } |
710 | 716 |
711 | 717 |
712 enum IsTagged { kArgcIsSmiTagged, kArgcIsUntaggedInt }; | 718 enum IsTagged { kArgcIsSmiTagged, kArgcIsUntaggedInt }; |
713 | 719 |
714 | 720 |
(...skipping 1813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2528 } | 2534 } |
2529 } | 2535 } |
2530 | 2536 |
2531 | 2537 |
2532 #undef __ | 2538 #undef __ |
2533 | 2539 |
2534 } // namespace internal | 2540 } // namespace internal |
2535 } // namespace v8 | 2541 } // namespace v8 |
2536 | 2542 |
2537 #endif // V8_TARGET_ARCH_MIPS64 | 2543 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |