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

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

Issue 2497523002: [promises] Move promise constructor to TFS (Closed)
Patch Set: fixees Created 4 years, 1 month 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
OLDNEW
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_S390 5 #if V8_TARGET_ARCH_S390
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 2781 matching lines...) Expand 10 before | Expand all | Expand 10 after
2792 } 2792 }
2793 2793
2794 // Called Construct on an Object that doesn't have a [[Construct]] internal 2794 // Called Construct on an Object that doesn't have a [[Construct]] internal
2795 // method. 2795 // method.
2796 __ bind(&non_constructor); 2796 __ bind(&non_constructor);
2797 __ Jump(masm->isolate()->builtins()->ConstructedNonConstructable(), 2797 __ Jump(masm->isolate()->builtins()->ConstructedNonConstructable(),
2798 RelocInfo::CODE_TARGET); 2798 RelocInfo::CODE_TARGET);
2799 } 2799 }
2800 2800
2801 // static 2801 // static
2802 void Builtins::Generate_PromiseConstructorHelper(MacroAssembler* masm) {
2803 Generate_JSConstructStubHelper(masm, false, false, false);
2804 }
2805
2806 // static
2802 void Builtins::Generate_AllocateInNewSpace(MacroAssembler* masm) { 2807 void Builtins::Generate_AllocateInNewSpace(MacroAssembler* masm) {
2803 // ----------- S t a t e ------------- 2808 // ----------- S t a t e -------------
2804 // -- r3 : requested object size (untagged) 2809 // -- r3 : requested object size (untagged)
2805 // -- lr : return address 2810 // -- lr : return address
2806 // ----------------------------------- 2811 // -----------------------------------
2807 __ SmiTag(r3); 2812 __ SmiTag(r3);
2808 __ Push(r3); 2813 __ Push(r3);
2809 __ LoadSmiLiteral(cp, Smi::kZero); 2814 __ LoadSmiLiteral(cp, Smi::kZero);
2810 __ TailCallRuntime(Runtime::kAllocateInNewSpace); 2815 __ TailCallRuntime(Runtime::kAllocateInNewSpace);
2811 } 2816 }
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
2964 __ bkpt(0); 2969 __ bkpt(0);
2965 } 2970 }
2966 } 2971 }
2967 2972
2968 #undef __ 2973 #undef __
2969 2974
2970 } // namespace internal 2975 } // namespace internal
2971 } // namespace v8 2976 } // namespace v8
2972 2977
2973 #endif // V8_TARGET_ARCH_S390 2978 #endif // V8_TARGET_ARCH_S390
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698