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/builtins-call-gen.cc

Issue 2890023004: [turbofan] Avoid allocating rest parameters for spread calls. (Closed)
Patch Set: Created 3 years, 7 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/builtins/builtins.h ('k') | src/builtins/builtins-constructor-gen.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 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 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 #include "src/builtins/builtins.h" 5 #include "src/builtins/builtins.h"
6 #include "src/globals.h" 6 #include "src/globals.h"
7 #include "src/isolate.h" 7 #include "src/isolate.h"
8 #include "src/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 MacroAssembler* masm) { 76 MacroAssembler* masm) {
77 Generate_Call(masm, ConvertReceiverMode::kNotNullOrUndefined, 77 Generate_Call(masm, ConvertReceiverMode::kNotNullOrUndefined,
78 TailCallMode::kAllow); 78 TailCallMode::kAllow);
79 } 79 }
80 80
81 void Builtins::Generate_TailCall_ReceiverIsAny(MacroAssembler* masm) { 81 void Builtins::Generate_TailCall_ReceiverIsAny(MacroAssembler* masm) {
82 Generate_Call(masm, ConvertReceiverMode::kAny, TailCallMode::kAllow); 82 Generate_Call(masm, ConvertReceiverMode::kAny, TailCallMode::kAllow);
83 } 83 }
84 84
85 void Builtins::Generate_CallForwardVarargs(MacroAssembler* masm) { 85 void Builtins::Generate_CallForwardVarargs(MacroAssembler* masm) {
86 Generate_CallForwardVarargs(masm, masm->isolate()->builtins()->Call()); 86 Generate_ForwardVarargs(masm, masm->isolate()->builtins()->Call());
87 } 87 }
88 88
89 void Builtins::Generate_CallFunctionForwardVarargs(MacroAssembler* masm) { 89 void Builtins::Generate_CallFunctionForwardVarargs(MacroAssembler* masm) {
90 Generate_CallForwardVarargs(masm, 90 Generate_ForwardVarargs(masm, masm->isolate()->builtins()->CallFunction());
91 masm->isolate()->builtins()->CallFunction());
92 } 91 }
93 92
94 } // namespace internal 93 } // namespace internal
95 } // namespace v8 94 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/builtins.h ('k') | src/builtins/builtins-constructor-gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698