Index: test/cctest/compiler/test-js-constant-cache.cc |
diff --git a/test/cctest/compiler/test-js-constant-cache.cc b/test/cctest/compiler/test-js-constant-cache.cc |
index 630f911c5e0132f49b073bbf5135f168c785b1d8..fa2614cd14702b2a867efc60f707727f6a223a8e 100644 |
--- a/test/cctest/compiler/test-js-constant-cache.cc |
+++ b/test/cctest/compiler/test-js-constant-cache.cc |
@@ -41,7 +41,7 @@ class JSConstantCacheTester : public HandleAndZoneScope, |
JSGraph(main_isolate(), &main_graph_, &main_common_, &main_javascript_, |
&main_machine_) { |
main_graph_.SetStart(main_graph_.NewNode(common()->Start(0))); |
- main_graph_.SetEnd(main_graph_.NewNode(common()->End())); |
+ main_graph_.SetEnd(main_graph_.NewNode(common()->End(1))); |
main_typer_.Run(); |
} |