Reviewers: adamk,
Description:
Delete outdated comment about a bug which was fixed three years ago
R=adamk
BUG=chromium:135066
LOG=N
Please review this at https://codereview.chromium.org/1279203002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -4 lines):
M src/parser.cc
Index: src/parser.cc
diff --git a/src/parser.cc b/src/parser.cc
index
45202cb3a82b922c7d487061cfff03578cc3a3c9..8299e2974467921eb0ef17b43f06f187be587c4d
100644
--- a/src/parser.cc
+++ b/src/parser.cc
@@ -1337,10 +1337,7 @@ void*
Parser::ParseStatementList(ZoneList<Statement*>* body, int end_token,
// Because declarations in strict eval code don't leak into the
scope
// of the eval call, it is likely that functions declared in
strict
// eval code will be used within the eval code, so lazy parsing
is
- // probably not a win. Also, resolution of "var" bindings
defined in
- // strict eval code from within nested functions is currently
broken
- // with the pre-parser; lazy parsing of strict eval code causes
- // regress/regress-crbug-135066.js to fail.
+ // probably not a win.
if (scope_->is_eval_scope()) mode_ = PARSE_EAGERLY;
} else if (literal->raw_value()->AsString() ==
ast_value_factory()->use_asm_string() &&
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.