Index: test/unittests/compiler/js-operator-unittest.cc |
diff --git a/test/unittests/compiler/js-operator-unittest.cc b/test/unittests/compiler/js-operator-unittest.cc |
index 15b1427871891a2a41db956c30f7ae73ebadb2d0..634d44465c5f7f14ed62ebfce3842e7bda0dce33 100644 |
--- a/test/unittests/compiler/js-operator-unittest.cc |
+++ b/test/unittests/compiler/js-operator-unittest.cc |
@@ -42,8 +42,8 @@ const SharedOperator kSharedOperators[] = { |
} |
SHARED(Equal, Operator::kNoProperties, 2, 1, 1, 1, 1, 1, 2), |
SHARED(NotEqual, Operator::kNoProperties, 2, 1, 1, 1, 1, 1, 2), |
- SHARED(StrictEqual, Operator::kNoThrow, 2, 0, 1, 1, 1, 1, 0), |
- SHARED(StrictNotEqual, Operator::kNoThrow, 2, 0, 1, 1, 1, 1, 0), |
+ SHARED(StrictEqual, Operator::kPure, 2, 0, 0, 0, 1, 0, 0), |
+ SHARED(StrictNotEqual, Operator::kPure, 2, 0, 0, 0, 1, 0, 0), |
SHARED(LessThan, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), |
SHARED(GreaterThan, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), |
SHARED(LessThanOrEqual, Operator::kNoProperties, 2, 2, 1, 1, 1, 1, 2), |
@@ -51,11 +51,11 @@ const SharedOperator kSharedOperators[] = { |
SHARED(ToNumber, Operator::kNoProperties, 1, 1, 1, 1, 1, 1, 2), |
SHARED(ToString, Operator::kNoProperties, 1, 1, 1, 1, 1, 1, 2), |
SHARED(ToName, Operator::kNoProperties, 1, 1, 1, 1, 1, 1, 2), |
- SHARED(ToObject, Operator::kNoProperties, 1, 1, 1, 1, 1, 1, 2), |
+ SHARED(ToObject, Operator::kFoldable, 1, 1, 1, 1, 1, 1, 2), |
SHARED(Yield, Operator::kNoProperties, 1, 0, 1, 1, 1, 1, 2), |
SHARED(Create, Operator::kEliminatable, 2, 1, 1, 0, 1, 1, 0), |
SHARED(HasProperty, Operator::kNoProperties, 2, 1, 1, 1, 1, 1, 2), |
- SHARED(TypeOf, Operator::kEliminatable, 1, 0, 1, 0, 1, 1, 0), |
+ SHARED(TypeOf, Operator::kPure, 1, 0, 0, 0, 1, 0, 0), |
SHARED(InstanceOf, Operator::kNoProperties, 2, 1, 1, 1, 1, 1, 2), |
SHARED(CreateWithContext, Operator::kNoProperties, 2, 0, 1, 1, 1, 1, 2), |
SHARED(CreateModuleContext, Operator::kNoProperties, 2, 0, 1, 1, 1, 1, 2), |