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

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

Issue 1848243002: [turbofan] Introduce JSToInteger and JSToLength operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/compiler/type-hints.h" 8 #include "src/compiler/type-hints.h"
9 #include "src/runtime/runtime.h" 9 #include "src/runtime/runtime.h"
10 10
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 const Operator* ShiftLeft(BinaryOperationHints hints); 397 const Operator* ShiftLeft(BinaryOperationHints hints);
398 const Operator* ShiftRight(BinaryOperationHints hints); 398 const Operator* ShiftRight(BinaryOperationHints hints);
399 const Operator* ShiftRightLogical(BinaryOperationHints hints); 399 const Operator* ShiftRightLogical(BinaryOperationHints hints);
400 const Operator* Add(BinaryOperationHints hints); 400 const Operator* Add(BinaryOperationHints hints);
401 const Operator* Subtract(BinaryOperationHints hints); 401 const Operator* Subtract(BinaryOperationHints hints);
402 const Operator* Multiply(BinaryOperationHints hints); 402 const Operator* Multiply(BinaryOperationHints hints);
403 const Operator* Divide(BinaryOperationHints hints); 403 const Operator* Divide(BinaryOperationHints hints);
404 const Operator* Modulus(BinaryOperationHints hints); 404 const Operator* Modulus(BinaryOperationHints hints);
405 405
406 const Operator* ToBoolean(ToBooleanHints hints); 406 const Operator* ToBoolean(ToBooleanHints hints);
407 const Operator* ToInteger();
408 const Operator* ToLength();
409 const Operator* ToName();
407 const Operator* ToNumber(); 410 const Operator* ToNumber();
411 const Operator* ToObject();
408 const Operator* ToString(); 412 const Operator* ToString();
409 const Operator* ToName();
410 const Operator* ToObject();
411 const Operator* Yield(); 413 const Operator* Yield();
412 414
413 const Operator* Create(); 415 const Operator* Create();
414 const Operator* CreateArguments(CreateArgumentsType type); 416 const Operator* CreateArguments(CreateArgumentsType type);
415 const Operator* CreateArray(size_t arity, Handle<AllocationSite> site); 417 const Operator* CreateArray(size_t arity, Handle<AllocationSite> site);
416 const Operator* CreateClosure(Handle<SharedFunctionInfo> shared_info, 418 const Operator* CreateClosure(Handle<SharedFunctionInfo> shared_info,
417 PretenureFlag pretenure); 419 PretenureFlag pretenure);
418 const Operator* CreateIterResultObject(); 420 const Operator* CreateIterResultObject();
419 const Operator* CreateLiteralArray(Handle<FixedArray> constant_elements, 421 const Operator* CreateLiteralArray(Handle<FixedArray> constant_elements,
420 int literal_flags, int literal_index, 422 int literal_flags, int literal_index,
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 Zone* const zone_; 487 Zone* const zone_;
486 488
487 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 489 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
488 }; 490 };
489 491
490 } // namespace compiler 492 } // namespace compiler
491 } // namespace internal 493 } // namespace internal
492 } // namespace v8 494 } // namespace v8
493 495
494 #endif // V8_COMPILER_JS_OPERATOR_H_ 496 #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