Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 6dc677f5b825bcd8fe2b78c27f39c43267f69ef9..588bd768561e6ca25adb9081db746ecee90af0aa 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -829,6 +829,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); |
+ 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 }; |