Index: src/parsing/parameter-initializer-rewriter.cc |
diff --git a/src/parsing/parameter-initializer-rewriter.cc b/src/parsing/parameter-initializer-rewriter.cc |
index f59b0fb368f9166b744d31d53762430e8df0839f..b12a80f9b8d83dffb7bae2223a7d5c465ca576ca 100644 |
--- a/src/parsing/parameter-initializer-rewriter.cc |
+++ b/src/parsing/parameter-initializer-rewriter.cc |
@@ -68,7 +68,7 @@ void Rewriter::VisitVariableProxy(VariableProxy* proxy) { |
} else { |
// Ensure that temporaries we find are already in the correct scope. |
DCHECK(proxy->var()->mode() != TEMPORARY || |
- proxy->var()->scope() == param_scope_->ClosureScope()); |
+ proxy->var()->scope() == param_scope_->GetClosureScope()); |
} |
} |