Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index a93600f960655756d89b55471004b8f45583088e..6b53cb53562994247e894c5cab0a62f6fabc2f09 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -3435,6 +3435,7 @@ Expression* Parser::ParseLeftHandSideExpression(bool* ok) { |
top_scope_->DeclarationScope()->RecordEvalCall(); |
} |
result = factory()->NewCall(result, args, pos); |
+ if (fni_ != NULL) fni_->RemoveLastFunction(); |
break; |
} |