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_MIPS | 5 #if V8_TARGET_ARCH_MIPS |
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 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 void Builtins::Generate_JSConstructStubApi(MacroAssembler* masm) { | 702 void Builtins::Generate_JSConstructStubApi(MacroAssembler* masm) { |
703 Generate_JSConstructStubHelper(masm, true, true); | 703 Generate_JSConstructStubHelper(masm, true, true); |
704 } | 704 } |
705 | 705 |
706 | 706 |
707 void Builtins::Generate_JSBuiltinsConstructStub(MacroAssembler* masm) { | 707 void Builtins::Generate_JSBuiltinsConstructStub(MacroAssembler* masm) { |
708 Generate_JSConstructStubHelper(masm, false, false); | 708 Generate_JSConstructStubHelper(masm, false, false); |
709 } | 709 } |
710 | 710 |
711 | 711 |
| 712 void Builtins::Generate_JSBuiltinsConstructStubForDerived( |
| 713 MacroAssembler* masm) { |
| 714 Generate_JSConstructStubHelper(masm, false, false); |
| 715 } |
| 716 |
| 717 |
712 void Builtins::Generate_ConstructedNonConstructable(MacroAssembler* masm) { | 718 void Builtins::Generate_ConstructedNonConstructable(MacroAssembler* masm) { |
713 FrameScope scope(masm, StackFrame::INTERNAL); | 719 FrameScope scope(masm, StackFrame::INTERNAL); |
714 __ Push(a1); | 720 __ Push(a1); |
715 __ CallRuntime(Runtime::kThrowConstructedNonConstructable); | 721 __ CallRuntime(Runtime::kThrowConstructedNonConstructable); |
716 } | 722 } |
717 | 723 |
718 | 724 |
719 enum IsTagged { kArgcIsSmiTagged, kArgcIsUntaggedInt }; | 725 enum IsTagged { kArgcIsSmiTagged, kArgcIsUntaggedInt }; |
720 | 726 |
721 | 727 |
(...skipping 1817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2539 } | 2545 } |
2540 } | 2546 } |
2541 | 2547 |
2542 | 2548 |
2543 #undef __ | 2549 #undef __ |
2544 | 2550 |
2545 } // namespace internal | 2551 } // namespace internal |
2546 } // namespace v8 | 2552 } // namespace v8 |
2547 | 2553 |
2548 #endif // V8_TARGET_ARCH_MIPS | 2554 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |