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 ce0c2241b778949ed460bf7c291a7b9320504e5c..9d5ff000b7eaec143056b9c007ca8dfbd5c67a91 100644 |
--- a/test/cctest/compiler/test-js-constant-cache.cc |
+++ b/test/cctest/compiler/test-js-constant-cache.cc |
@@ -41,7 +41,8 @@ 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(1))); |
+ main_graph_.SetEnd( |
+ main_graph_.NewNode(common()->End(1), main_graph_.start())); |
main_typer_.Run(); |
} |