Index: src/compiler/simplified-operator.cc |
diff --git a/src/compiler/simplified-operator.cc b/src/compiler/simplified-operator.cc |
index 623f229c85a2b9ab7ca55a2d743f6809ec56f7ee..f2649994870cb844fba63f2d06d77c4430237e3a 100644 |
--- a/src/compiler/simplified-operator.cc |
+++ b/src/compiler/simplified-operator.cc |
@@ -426,6 +426,7 @@ NumberOperationHint NumberOperationHintOf(const Operator* op) { |
V(ObjectIsSmi, Operator::kNoProperties, 1, 0) \ |
V(ObjectIsString, Operator::kNoProperties, 1, 0) \ |
V(ObjectIsUndetectable, Operator::kNoProperties, 1, 0) \ |
+ V(ReferenceEqual, Operator::kCommutative, 2, 0) \ |
V(StringEqual, Operator::kCommutative, 2, 0) \ |
V(StringLessThan, Operator::kNoProperties, 2, 0) \ |
V(StringLessThanOrEqual, Operator::kNoProperties, 2, 0) |
@@ -717,12 +718,6 @@ const Operator* SimplifiedOperatorBuilder::CheckTaggedHole( |
return nullptr; |
} |
-const Operator* SimplifiedOperatorBuilder::ReferenceEqual(Type* type) { |
- return new (zone()) Operator(IrOpcode::kReferenceEqual, |
- Operator::kCommutative | Operator::kPure, |
- "ReferenceEqual", 2, 0, 0, 1, 0, 0); |
-} |
- |
const Operator* SimplifiedOperatorBuilder::EnsureWritableFastElements() { |
return &cache_.kEnsureWritableFastElements; |
} |