| OLD | NEW |
| 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/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
| 9 #include "src/globals.h" | 9 #include "src/globals.h" |
| 10 #include "src/handles.h" | 10 #include "src/handles.h" |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 // AST. Most operators have no parameters, thus can be globally shared for all | 582 // AST. Most operators have no parameters, thus can be globally shared for all |
| 583 // graphs. | 583 // graphs. |
| 584 class V8_EXPORT_PRIVATE JSOperatorBuilder final | 584 class V8_EXPORT_PRIVATE JSOperatorBuilder final |
| 585 : public NON_EXPORTED_BASE(ZoneObject) { | 585 : public NON_EXPORTED_BASE(ZoneObject) { |
| 586 public: | 586 public: |
| 587 explicit JSOperatorBuilder(Zone* zone); | 587 explicit JSOperatorBuilder(Zone* zone); |
| 588 | 588 |
| 589 const Operator* Equal(CompareOperationHint hint); | 589 const Operator* Equal(CompareOperationHint hint); |
| 590 const Operator* NotEqual(CompareOperationHint hint); | 590 const Operator* NotEqual(CompareOperationHint hint); |
| 591 const Operator* StrictEqual(CompareOperationHint hint); | 591 const Operator* StrictEqual(CompareOperationHint hint); |
| 592 const Operator* StrictNotEqual(CompareOperationHint hint); | |
| 593 const Operator* LessThan(CompareOperationHint hint); | 592 const Operator* LessThan(CompareOperationHint hint); |
| 594 const Operator* GreaterThan(CompareOperationHint hint); | 593 const Operator* GreaterThan(CompareOperationHint hint); |
| 595 const Operator* LessThanOrEqual(CompareOperationHint hint); | 594 const Operator* LessThanOrEqual(CompareOperationHint hint); |
| 596 const Operator* GreaterThanOrEqual(CompareOperationHint hint); | 595 const Operator* GreaterThanOrEqual(CompareOperationHint hint); |
| 597 | 596 |
| 598 const Operator* BitwiseOr(); | 597 const Operator* BitwiseOr(); |
| 599 const Operator* BitwiseXor(); | 598 const Operator* BitwiseXor(); |
| 600 const Operator* BitwiseAnd(); | 599 const Operator* BitwiseAnd(); |
| 601 const Operator* ShiftLeft(); | 600 const Operator* ShiftLeft(); |
| 602 const Operator* ShiftRight(); | 601 const Operator* ShiftRight(); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 716 Zone* const zone_; | 715 Zone* const zone_; |
| 717 | 716 |
| 718 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); | 717 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); |
| 719 }; | 718 }; |
| 720 | 719 |
| 721 } // namespace compiler | 720 } // namespace compiler |
| 722 } // namespace internal | 721 } // namespace internal |
| 723 } // namespace v8 | 722 } // namespace v8 |
| 724 | 723 |
| 725 #endif // V8_COMPILER_JS_OPERATOR_H_ | 724 #endif // V8_COMPILER_JS_OPERATOR_H_ |
| OLD | NEW |