Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index 66f588af17d7b4d185ddbed09b1d729c0a9ef8e6..84c7cfc6d562b3673a52dfa4c1c314e383fd11f5 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -1139,7 +1139,7 @@ TEST(ScopeUsesArgumentsSuperThis) { |
CHECK_NOT_NULL(scope->AsDeclarationScope()->arguments()); |
} |
CHECK_EQ((source_data[i].expected & SUPER_PROPERTY) != 0, |
- scope->uses_super_property()); |
+ scope->AsDeclarationScope()->uses_super_property()); |
if ((source_data[i].expected & THIS) != 0) { |
// Currently the is_used() flag is conservative; all variables in a |
// script scope are marked as used. |