Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index e468cb970c09bc75a32f21938c9a7cb839124b4c..107cd275d61db29f9ea69dac98cf477d09b3ca47 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -5925,11 +5925,9 @@ static ScriptDataImpl* DoPreParse(Utf16CharacterStream* source, |
} |
-ScriptDataImpl* ParserApi::PreParse(Utf16CharacterStream* source, |
- v8::Extension* extension, |
- int flags) { |
- Handle<Script> no_script; |
- if (FLAG_lazy && (extension == NULL)) { |
+ScriptDataImpl* ParserApi::PreParse(Utf16CharacterStream* source) { |
+ int flags = kNoParsingFlags; |
+ if (FLAG_lazy) { |
flags |= kAllowLazy; |
} |
if (FLAG_harmony_generators) { |