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

Side by Side Diff: src/mips64/builtins-mips64.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/mips/builtins-mips.cc ('k') | src/parsing/parser.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_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
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
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
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/parsing/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698