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

Side by Side Diff: src/code-factory.h

Issue 2692753004: [turbofan] escape analysis supports arguments object and rest elements (Closed)
Patch Set: addressed comments Created 3 years, 10 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
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 #ifndef V8_CODE_FACTORY_H_ 5 #ifndef V8_CODE_FACTORY_H_
6 #define V8_CODE_FACTORY_H_ 6 #define V8_CODE_FACTORY_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 static Callable FastNewStrictArguments(Isolate* isolate); 153 static Callable FastNewStrictArguments(Isolate* isolate);
154 154
155 static Callable ForInPrepare(Isolate* isolate); 155 static Callable ForInPrepare(Isolate* isolate);
156 static Callable ForInNext(Isolate* isolate); 156 static Callable ForInNext(Isolate* isolate);
157 157
158 static Callable CopyFastSmiOrObjectElements(Isolate* isolate); 158 static Callable CopyFastSmiOrObjectElements(Isolate* isolate);
159 static Callable GrowFastDoubleElements(Isolate* isolate); 159 static Callable GrowFastDoubleElements(Isolate* isolate);
160 static Callable GrowFastSmiOrObjectElements(Isolate* isolate); 160 static Callable GrowFastSmiOrObjectElements(Isolate* isolate);
161 161
162 static Callable NewUnmappedArgumentsElements(Isolate* isolate); 162 static Callable NewUnmappedArgumentsElements(Isolate* isolate);
163 static Callable NewRestParameterElements(Isolate* isolate);
164 163
165 static Callable AllocateHeapNumber(Isolate* isolate); 164 static Callable AllocateHeapNumber(Isolate* isolate);
166 165
167 static Callable ArgumentAdaptor(Isolate* isolate); 166 static Callable ArgumentAdaptor(Isolate* isolate);
168 static Callable Call(Isolate* isolate, 167 static Callable Call(Isolate* isolate,
169 ConvertReceiverMode mode = ConvertReceiverMode::kAny, 168 ConvertReceiverMode mode = ConvertReceiverMode::kAny,
170 TailCallMode tail_call_mode = TailCallMode::kDisallow); 169 TailCallMode tail_call_mode = TailCallMode::kDisallow);
171 static Callable CallWithSpread(Isolate* isolate); 170 static Callable CallWithSpread(Isolate* isolate);
172 static Callable CallFunction( 171 static Callable CallFunction(
173 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny, 172 Isolate* isolate, ConvertReceiverMode mode = ConvertReceiverMode::kAny,
(...skipping 19 matching lines...) Expand all
193 static Callable ArrayConstructor(Isolate* isolate); 192 static Callable ArrayConstructor(Isolate* isolate);
194 static Callable ArrayPush(Isolate* isolate); 193 static Callable ArrayPush(Isolate* isolate);
195 static Callable FunctionPrototypeBind(Isolate* isolate); 194 static Callable FunctionPrototypeBind(Isolate* isolate);
196 static Callable PromiseHandleReject(Isolate* isolate); 195 static Callable PromiseHandleReject(Isolate* isolate);
197 }; 196 };
198 197
199 } // namespace internal 198 } // namespace internal
200 } // namespace v8 199 } // namespace v8
201 200
202 #endif // V8_CODE_FACTORY_H_ 201 #endif // V8_CODE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698