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

Side by Side Diff: src/compiler/js-operator.h

Issue 1104453006: [turbofan] Introduce explicit JSCreateLiteral[Array|Object]. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 5 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/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/js-operator.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_COMPILER_JS_OPERATOR_H_ 5 #ifndef V8_COMPILER_JS_OPERATOR_H_
6 #define V8_COMPILER_JS_OPERATOR_H_ 6 #define V8_COMPILER_JS_OPERATOR_H_
7 7
8 #include "src/runtime/runtime.h" 8 #include "src/runtime/runtime.h"
9 #include "src/unique.h" 9 #include "src/unique.h"
10 10
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 const Operator* ToBoolean(); 263 const Operator* ToBoolean();
264 const Operator* ToNumber(); 264 const Operator* ToNumber();
265 const Operator* ToString(); 265 const Operator* ToString();
266 const Operator* ToName(); 266 const Operator* ToName();
267 const Operator* ToObject(); 267 const Operator* ToObject();
268 const Operator* Yield(); 268 const Operator* Yield();
269 269
270 const Operator* Create(); 270 const Operator* Create();
271 const Operator* CreateClosure(Handle<SharedFunctionInfo> shared_info, 271 const Operator* CreateClosure(Handle<SharedFunctionInfo> shared_info,
272 PretenureFlag pretenure); 272 PretenureFlag pretenure);
273 const Operator* CreateLiteralArray(int literal_flags);
274 const Operator* CreateLiteralObject(int literal_flags);
273 275
274 const Operator* CallFunction(size_t arity, CallFunctionFlags flags); 276 const Operator* CallFunction(size_t arity, CallFunctionFlags flags);
275 const Operator* CallRuntime(Runtime::FunctionId id, size_t arity); 277 const Operator* CallRuntime(Runtime::FunctionId id, size_t arity);
276 278
277 const Operator* CallConstruct(int arguments); 279 const Operator* CallConstruct(int arguments);
278 280
279 const Operator* LoadProperty(const VectorSlotPair& feedback); 281 const Operator* LoadProperty(const VectorSlotPair& feedback);
280 const Operator* LoadNamed(const Unique<Name>& name, 282 const Operator* LoadNamed(const Unique<Name>& name,
281 const VectorSlotPair& feedback, 283 const VectorSlotPair& feedback,
282 ContextualMode contextual_mode = NOT_CONTEXTUAL, 284 ContextualMode contextual_mode = NOT_CONTEXTUAL,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 Zone* const zone_; 316 Zone* const zone_;
315 317
316 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 318 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
317 }; 319 };
318 320
319 } // namespace compiler 321 } // namespace compiler
320 } // namespace internal 322 } // namespace internal
321 } // namespace v8 323 } // namespace v8
322 324
323 #endif // V8_COMPILER_JS_OPERATOR_H_ 325 #endif // V8_COMPILER_JS_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/js-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698