Index: src/parsing/parse-info.cc |
diff --git a/src/parsing/parse-info.cc b/src/parsing/parse-info.cc |
index 4fbfb1948dc4e056d7f3aabf947d10c5a1409ac2..30dd285588a9e3d415ebb2b8be5e0222de7c768f 100644 |
--- a/src/parsing/parse-info.cc |
+++ b/src/parsing/parse-info.cc |
@@ -63,8 +63,7 @@ ParseInfo::ParseInfo(Zone* zone, Handle<SharedFunctionInfo> shared) |
ParseInfo::ParseInfo(Zone* zone, Handle<Script> script) : ParseInfo(zone) { |
isolate_ = script->GetIsolate(); |
- set_allow_lazy_parsing(String::cast(script->source())->length() > |
- FLAG_min_preparse_length); |
+ set_allow_lazy_parsing(); |
set_toplevel(); |
set_hash_seed(isolate_->heap()->HashSeed()); |
set_stack_limit(isolate_->stack_guard()->real_climit()); |