Index: test/cctest/compiler/test-js-context-specialization.cc |
diff --git a/test/cctest/compiler/test-js-context-specialization.cc b/test/cctest/compiler/test-js-context-specialization.cc |
index e2cb8e6ac94ec8b8b3520e8eb0f1c980fbb3bcb5..e08fef9972bf6c07f7391889e00137efedc47a6c 100644 |
--- a/test/cctest/compiler/test-js-context-specialization.cc |
+++ b/test/cctest/compiler/test-js-context-specialization.cc |
@@ -214,8 +214,8 @@ TEST(SpecializeToContext) { |
Node* other_use = |
t.NewNode(t.simplified()->ChangeTaggedToInt32(), other_load); |
- Node* add = t.NewNode(t.javascript()->Add(), value_use, other_use, |
- param_context, other_load, start); |
+ Node* add = t.NewNode(t.javascript()->Add(LanguageMode::SLOPPY), value_use, |
+ other_use, param_context, other_load, start); |
Node* ret = t.NewNode(t.common()->Return(), add, effect_use, start); |
Node* end = t.NewNode(t.common()->End(), ret); |