Index: src/rewriter.cc |
diff --git a/src/rewriter.cc b/src/rewriter.cc |
index d34ca5cf645e884144d1a0cf19a282e524bbf779..f7b0ce005e6c7eb9c5032419b5cea8fe83c75e1c 100644 |
--- a/src/rewriter.cc |
+++ b/src/rewriter.cc |
@@ -210,7 +210,7 @@ EXPRESSION_NODE_LIST(DEF_VISIT) |
// Assumes code has been parsed. Mutates the AST, so the AST should not |
// continue to be used in the case of failure. |
bool Rewriter::Rewrite(ParseInfo* info) { |
- FunctionLiteral* function = info->function(); |
+ FunctionLiteral* function = info->literal(); |
DCHECK(function != NULL); |
Scope* scope = function->scope(); |
DCHECK(scope != NULL); |