Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index fa2b7025c30da5aad1c3c0cb904af7b90926efa3..7cb65a71cb9b3f2749a750f978dca9c70bb4296a 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -862,6 +862,36 @@ class CodeStubAssembler : public compiler::CodeAssembler { |
FixedArray::kHeaderSize); |
} |
+ enum RelationalComparisonMode { |
+ kLessThan, |
+ kLessThanOrEqual, |
+ kGreaterThan, |
+ kGreaterThanOrEqual |
+ }; |
+ |
+ compiler::Node* RelationalComparison(RelationalComparisonMode mode, |
+ compiler::Node* lhs, compiler::Node* rhs, |
+ compiler::Node* context); |
+ |
+ enum ResultMode { kDontNegateResult, kNegateResult }; |
+ |
+ compiler::Node* Equal(ResultMode mode, compiler::Node* lhs, |
+ compiler::Node* rhs, compiler::Node* context); |
+ |
+ compiler::Node* StrictEqual(ResultMode mode, compiler::Node* lhs, |
+ compiler::Node* rhs, compiler::Node* context); |
+ |
+ compiler::Node* HasProperty( |
+ compiler::Node* object, compiler::Node* key, compiler::Node* context, |
+ Runtime::FunctionId fallback_runtime_function_id = Runtime::kHasProperty); |
+ compiler::Node* ForInFilter(compiler::Node* key, compiler::Node* object, |
+ compiler::Node* context); |
+ |
+ compiler::Node* Typeof(compiler::Node* value, compiler::Node* context); |
+ |
+ compiler::Node* InstanceOf(compiler::Node* object, compiler::Node* callable, |
+ compiler::Node* context); |
+ |
private: |
enum ElementSupport { kOnlyProperties, kSupportElements }; |