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

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

Issue 2146293003: [builtins] implement Array.prototype.includes in TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix IsComparisonOpcode Created 4 years, 5 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 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 // AST. Most operators have no parameters, thus can be globally shared for all 382 // AST. Most operators have no parameters, thus can be globally shared for all
383 // graphs. 383 // graphs.
384 class JSOperatorBuilder final : public ZoneObject { 384 class JSOperatorBuilder final : public ZoneObject {
385 public: 385 public:
386 explicit JSOperatorBuilder(Zone* zone); 386 explicit JSOperatorBuilder(Zone* zone);
387 387
388 const Operator* Equal(CompareOperationHints hints); 388 const Operator* Equal(CompareOperationHints hints);
389 const Operator* NotEqual(CompareOperationHints hints); 389 const Operator* NotEqual(CompareOperationHints hints);
390 const Operator* StrictEqual(CompareOperationHints hints); 390 const Operator* StrictEqual(CompareOperationHints hints);
391 const Operator* StrictNotEqual(CompareOperationHints hints); 391 const Operator* StrictNotEqual(CompareOperationHints hints);
392 const Operator* SameValueZero(CompareOperationHints hints);
392 const Operator* LessThan(CompareOperationHints hints); 393 const Operator* LessThan(CompareOperationHints hints);
393 const Operator* GreaterThan(CompareOperationHints hints); 394 const Operator* GreaterThan(CompareOperationHints hints);
394 const Operator* LessThanOrEqual(CompareOperationHints hints); 395 const Operator* LessThanOrEqual(CompareOperationHints hints);
395 const Operator* GreaterThanOrEqual(CompareOperationHints hints); 396 const Operator* GreaterThanOrEqual(CompareOperationHints hints);
396 const Operator* BitwiseOr(BinaryOperationHints hints); 397 const Operator* BitwiseOr(BinaryOperationHints hints);
397 const Operator* BitwiseXor(BinaryOperationHints hints); 398 const Operator* BitwiseXor(BinaryOperationHints hints);
398 const Operator* BitwiseAnd(BinaryOperationHints hints); 399 const Operator* BitwiseAnd(BinaryOperationHints hints);
399 const Operator* ShiftLeft(BinaryOperationHints hints); 400 const Operator* ShiftLeft(BinaryOperationHints hints);
400 const Operator* ShiftRight(BinaryOperationHints hints); 401 const Operator* ShiftRight(BinaryOperationHints hints);
401 const Operator* ShiftRightLogical(BinaryOperationHints hints); 402 const Operator* ShiftRightLogical(BinaryOperationHints hints);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 Zone* const zone_; 496 Zone* const zone_;
496 497
497 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 498 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
498 }; 499 };
499 500
500 } // namespace compiler 501 } // namespace compiler
501 } // namespace internal 502 } // namespace internal
502 } // namespace v8 503 } // namespace v8
503 504
504 #endif // V8_COMPILER_JS_OPERATOR_H_ 505 #endif // V8_COMPILER_JS_OPERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698