Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index b6e8dc5bc8faa3bf21d1f80fb5e920a29ec0f31f..7018fc0fff6413fd2a52773434972a17d9063c14 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1520,7 +1520,6 @@ bool Genesis::CompileScriptCached(Isolate* isolate, |
top_context, |
extension, |
NULL, |
- Handle<String>::null(), |
use_runtime_context ? NATIVES_CODE : NOT_NATIVES_CODE); |
if (function_info.is_null()) return false; |
if (cache != NULL) cache->Add(name, function_info); |
@@ -1757,7 +1756,6 @@ bool Genesis::InstallNatives() { |
factory()->NewForeign(&Accessors::ScriptColumnOffset)); |
Handle<String> data_string(factory()->InternalizeOneByteString( |
STATIC_ASCII_VECTOR("data"))); |
- Handle<Foreign> script_data(factory()->NewForeign(&Accessors::ScriptData)); |
Handle<String> type_string(factory()->InternalizeOneByteString( |
STATIC_ASCII_VECTOR("type"))); |
Handle<Foreign> script_type(factory()->NewForeign(&Accessors::ScriptType)); |
@@ -1822,11 +1820,6 @@ bool Genesis::InstallNatives() { |
} |
{ |
- CallbacksDescriptor d(*data_string, *script_data, attribs); |
- script_map->AppendDescriptor(&d, witness); |
- } |
- |
- { |
CallbacksDescriptor d(*type_string, *script_type, attribs); |
script_map->AppendDescriptor(&d, witness); |
} |