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

Side by Side Diff: src/builtins/builtins.h

Issue 2930623002: [builtins] Start refactoring the Apply builtin. (Closed)
Patch Set: Address feedback. Created 3 years, 6 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/arm64/builtins-arm64.cc ('k') | src/builtins/builtins-call-gen.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 #ifndef V8_BUILTINS_BUILTINS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_H_
6 #define V8_BUILTINS_BUILTINS_H_ 6 #define V8_BUILTINS_BUILTINS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/builtins/builtins-definitions.h" 9 #include "src/builtins/builtins-definitions.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 static void Generate_CallFunction(MacroAssembler* masm, 119 static void Generate_CallFunction(MacroAssembler* masm,
120 ConvertReceiverMode mode, 120 ConvertReceiverMode mode,
121 TailCallMode tail_call_mode); 121 TailCallMode tail_call_mode);
122 122
123 static void Generate_CallBoundFunctionImpl(MacroAssembler* masm, 123 static void Generate_CallBoundFunctionImpl(MacroAssembler* masm,
124 TailCallMode tail_call_mode); 124 TailCallMode tail_call_mode);
125 125
126 static void Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode, 126 static void Generate_Call(MacroAssembler* masm, ConvertReceiverMode mode,
127 TailCallMode tail_call_mode); 127 TailCallMode tail_call_mode);
128 128
129 static void Generate_ForwardVarargs(MacroAssembler* masm, Handle<Code> code); 129 static void Generate_CallOrConstructVarargs(MacroAssembler* masm,
130 Handle<Code> code);
131 static void Generate_CallOrConstructForwardVarargs(MacroAssembler* masm,
132 Handle<Code> code);
130 133
131 static void Generate_InterpreterPushArgsThenCallImpl( 134 static void Generate_InterpreterPushArgsThenCallImpl(
132 MacroAssembler* masm, ConvertReceiverMode receiver_mode, 135 MacroAssembler* masm, ConvertReceiverMode receiver_mode,
133 TailCallMode tail_call_mode, InterpreterPushArgsMode mode); 136 TailCallMode tail_call_mode, InterpreterPushArgsMode mode);
134 137
135 static void Generate_InterpreterPushArgsThenConstructImpl( 138 static void Generate_InterpreterPushArgsThenConstructImpl(
136 MacroAssembler* masm, InterpreterPushArgsMode mode); 139 MacroAssembler* masm, InterpreterPushArgsMode mode);
137 140
138 #define DECLARE_ASM(Name, ...) \ 141 #define DECLARE_ASM(Name, ...) \
139 static void Generate_##Name(MacroAssembler* masm); 142 static void Generate_##Name(MacroAssembler* masm);
(...skipping 15 matching lines...) Expand all
155 friend class Isolate; 158 friend class Isolate;
156 friend class SetupIsolateDelegate; 159 friend class SetupIsolateDelegate;
157 160
158 DISALLOW_COPY_AND_ASSIGN(Builtins); 161 DISALLOW_COPY_AND_ASSIGN(Builtins);
159 }; 162 };
160 163
161 } // namespace internal 164 } // namespace internal
162 } // namespace v8 165 } // namespace v8
163 166
164 #endif // V8_BUILTINS_BUILTINS_H_ 167 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/builtins/arm64/builtins-arm64.cc ('k') | src/builtins/builtins-call-gen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698