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 fd70f55bb165a75e1a7cc2e37685bae7d2f41fa5..8f4622ae6773abdd5e01280b9a86e31983c0d2ac 100644 |
--- a/test/unittests/compiler/js-operator-unittest.cc |
+++ b/test/unittests/compiler/js-operator-unittest.cc |
@@ -152,11 +152,11 @@ INSTANTIATE_TEST_CASE_P(JSOperatorTest, JSSharedOperatorTest, |
class JSStorePropertyOperatorTest |
: public TestWithZone, |
- public ::testing::WithParamInterface<StrictMode> {}; |
+ public ::testing::WithParamInterface<LanguageMode> {}; |
TEST_P(JSStorePropertyOperatorTest, InstancesAreGloballyShared) { |
- const StrictMode mode = GetParam(); |
+ const LanguageMode mode = GetParam(); |
JSOperatorBuilder javascript1(zone()); |
JSOperatorBuilder javascript2(zone()); |
EXPECT_EQ(javascript1.StoreProperty(mode), javascript2.StoreProperty(mode)); |
@@ -165,7 +165,7 @@ TEST_P(JSStorePropertyOperatorTest, InstancesAreGloballyShared) { |
TEST_P(JSStorePropertyOperatorTest, NumberOfInputsAndOutputs) { |
JSOperatorBuilder javascript(zone()); |
- const StrictMode mode = GetParam(); |
+ const LanguageMode mode = GetParam(); |
const Operator* op = javascript.StoreProperty(mode); |
// TODO(jarin): Get rid of this hack. |
@@ -187,7 +187,7 @@ TEST_P(JSStorePropertyOperatorTest, NumberOfInputsAndOutputs) { |
TEST_P(JSStorePropertyOperatorTest, OpcodeIsCorrect) { |
JSOperatorBuilder javascript(zone()); |
- const StrictMode mode = GetParam(); |
+ const LanguageMode mode = GetParam(); |
const Operator* op = javascript.StoreProperty(mode); |
EXPECT_EQ(IrOpcode::kJSStoreProperty, op->opcode()); |
} |
@@ -195,15 +195,15 @@ TEST_P(JSStorePropertyOperatorTest, OpcodeIsCorrect) { |
TEST_P(JSStorePropertyOperatorTest, OpParameter) { |
JSOperatorBuilder javascript(zone()); |
- const StrictMode mode = GetParam(); |
+ const LanguageMode mode = GetParam(); |
const Operator* op = javascript.StoreProperty(mode); |
- EXPECT_EQ(mode, OpParameter<StrictMode>(op)); |
+ EXPECT_EQ(mode, OpParameter<LanguageMode>(op)); |
} |
TEST_P(JSStorePropertyOperatorTest, Properties) { |
JSOperatorBuilder javascript(zone()); |
- const StrictMode mode = GetParam(); |
+ const LanguageMode mode = GetParam(); |
const Operator* op = javascript.StoreProperty(mode); |
EXPECT_EQ(Operator::kNoProperties, op->properties()); |
} |