Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(850)

Side by Side Diff: src/mips/builtins-mips.cc

Issue 1593553002: [runtime] Throw exception for derived constructors in correct context. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: disable regression test for ignition Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698