Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index f2fffa2182a1be05d6dc4313c0c51f82c5bcff2a..ec9978e74b704fbda20298287551d6de06d8413e 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1727,8 +1727,8 @@ Local<Script> ScriptCompiler::Compile(Isolate* v8_isolate, |
// Do the parsing tasks which need to be done on the main thread. This will |
// also handle parse errors. |
- source->parser->Internalize(); |
- source->parser->HandleSourceURLComments(); |
+ source->parser->Internalize(source->info.get()); |
+ source->parser->HandleSourceURLComments(source->info.get()); |
i::Handle<i::SharedFunctionInfo> result = |
i::Handle<i::SharedFunctionInfo>::null(); |