Index: test/cctest/compiler/test-js-typed-lowering.cc |
diff --git a/test/cctest/compiler/test-js-typed-lowering.cc b/test/cctest/compiler/test-js-typed-lowering.cc |
index 1a0551442c1e4d98ae38e5f39cfad23701e471c2..4d53ef363df6bd7d7abd676e3cb9bc8209593fb2 100644 |
--- a/test/cctest/compiler/test-js-typed-lowering.cc |
+++ b/test/cctest/compiler/test-js-typed-lowering.cc |
@@ -820,7 +820,7 @@ TEST(RemoveToNumberEffects) { |
if (effect_use != NULL) { |
R.CheckEffectInput(R.start(), effect_use); |
// Check that value uses of ToNumber() do not go to start(). |
- for (int i = 0; i < effect_use->op()->InputCount(); i++) { |
+ for (int i = 0; i < effect_use->op()->ValueInputCount(); i++) { |
CHECK_NE(R.start(), effect_use->InputAt(i)); |
} |
} |