Index: src/factory.cc |
=================================================================== |
--- src/factory.cc (revision 2090) |
+++ src/factory.cc (working copy) |
@@ -177,9 +177,12 @@ |
script->set_column_offset(Smi::FromInt(0)); |
script->set_data(Heap::undefined_value()); |
script->set_context_data(Heap::undefined_value()); |
- script->set_type(Smi::FromInt(SCRIPT_TYPE_NORMAL)); |
+ script->set_type(Smi::FromInt(Script::TYPE_NORMAL)); |
+ script->set_compilation_type(Smi::FromInt(Script::COMPILATION_TYPE_HOST)); |
script->set_wrapper(*wrapper); |
script->set_line_ends(Heap::undefined_value()); |
+ script->set_eval_from_function(Heap::undefined_value()); |
+ script->set_eval_from_instructions_offset(Smi::FromInt(0)); |
return script; |
} |