Index: src/scopes.h |
diff --git a/src/scopes.h b/src/scopes.h |
index 8400094564cff764622a8b159745e33ba56ff14f..8759c92a530ec63badbd0a1627442097528e050a 100644 |
--- a/src/scopes.h |
+++ b/src/scopes.h |
@@ -237,7 +237,7 @@ class Scope: public ZoneObject { |
void RecordWithStatement() { scope_contains_with_ = true; } |
// Inform the scope that the corresponding code contains an eval call. |
- void RecordEvalCall() { if (!is_script_scope()) scope_calls_eval_ = true; } |
+ void RecordEvalCall() { scope_calls_eval_ = true; } |
// Inform the scope that the corresponding code uses "arguments". |
void RecordArgumentsUsage() { scope_uses_arguments_ = true; } |