Index: test/cctest/compiler/test-loop-assignment-analysis.cc |
diff --git a/test/cctest/compiler/test-loop-assignment-analysis.cc b/test/cctest/compiler/test-loop-assignment-analysis.cc |
index ad05273995fe29da44bffeaa53a8408c60f07c6c..b59f181f5ea40c189a7bffb9b4b31650c35602b5 100644 |
--- a/test/cctest/compiler/test-loop-assignment-analysis.cc |
+++ b/test/cctest/compiler/test-loop-assignment-analysis.cc |
@@ -36,7 +36,7 @@ struct TestHelper : public HandleAndZoneScope { |
CHECK(Rewriter::Rewrite(&parse_info)); |
CHECK(Scope::Analyze(&parse_info)); |
- Scope* scope = info.function()->scope(); |
+ Scope* scope = info.literal()->scope(); |
AstValueFactory* factory = parse_info.ast_value_factory(); |
CHECK(scope); |