Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 743d3336881a760894a6fabfe0a0855d86508b93..b5cdc1e5e66fd0aaeddbcbf74f008a2c70696e05 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -927,7 +927,6 @@ Handle<SharedFunctionInfo> Compiler::CompileScript(Handle<String> source, |
Handle<Context> context, |
v8::Extension* extension, |
ScriptDataImpl* pre_data, |
- Handle<Object> script_data, |
NativesFlag natives) { |
Isolate* isolate = source->GetIsolate(); |
int source_length = source->length(); |
@@ -969,9 +968,6 @@ Handle<SharedFunctionInfo> Compiler::CompileScript(Handle<String> source, |
} |
script->set_is_shared_cross_origin(is_shared_cross_origin); |
- script->set_data(script_data.is_null() ? isolate->heap()->undefined_value() |
- : *script_data); |
- |
// Compile the function and add it to the cache. |
CompilationInfoWithZone info(script); |
info.MarkAsGlobal(); |