Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1084)

Unified Diff: test/cctest/compiler/test-js-context-specialization.cc

Issue 1092353002: [strong] Disallow implicit conversions for binary arithmetic operations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase :( Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..76f418f41c7197da59709e545c6bcb98d443d914 100644
--- a/test/cctest/compiler/test-js-context-specialization.cc
+++ b/test/cctest/compiler/test-js-context-specialization.cc
@@ -183,7 +183,7 @@ static void CheckEffectInput(Node* effect, Node* use) {
}
-TEST(SpecializeToContext) {
+TEST_WITH_STRONG(SpecializeToContext) {
ContextSpecializationTester t;
Node* start = t.NewNode(t.common()->Start(0));
@@ -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(language_mode), 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);

Powered by Google App Engine
This is Rietveld 408576698