Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 749188f6bf27fc514b196624e82cf0e5d74a36ab..6aef6a87bca2fd884070f6e72f335178da01dbe4 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1032,6 +1032,7 @@ Handle<Script> Factory::NewScript(Handle<String> source) { |
script->set_type(Script::TYPE_NORMAL); |
script->set_wrapper(heap->undefined_value()); |
script->set_line_ends(heap->undefined_value()); |
+ if (FLAG_trace_deopt) Script::InitLineEnds(script); |
script->set_eval_from_shared(heap->undefined_value()); |
script->set_eval_from_position(0); |
script->set_shared_function_infos(Smi::kZero); |