Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: src/parsing/parser.cc

Issue 2413673002: Mark ParseInfo as eval in the constructors (Closed)
Patch Set: fix Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/parsing/parse-info.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.cc
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
index f5cbefd14cd962aad117029ef3bdfe7441db9ba1..0155e2c69b40ff42788647d22754334694bf10f6 100644
--- a/src/parsing/parser.cc
+++ b/src/parsing/parser.cc
@@ -3825,7 +3825,6 @@ bool Parser::Parse(ParseInfo* info) {
pre_parse_timer_ = isolate->counters()->pre_parse();
if (!info->shared_info().is_null() && info->shared_info()->is_function()) {
- DCHECK(!info->is_eval());
result = ParseLazy(isolate, info);
} else {
SetCachedData(info);
« no previous file with comments | « src/parsing/parse-info.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698