Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: src/factory.cc

Issue 2451853002: Uniform and precise source positions for inlining (Closed)
Patch Set: fixed compile issue Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/disassembler.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
Yang 2016/11/08 13:32:13 Can we do this at the end so that we have a fully
script->set_eval_from_shared(heap->undefined_value());
script->set_eval_from_position(0);
script->set_shared_function_infos(Smi::kZero);
« no previous file with comments | « src/disassembler.cc ('k') | src/full-codegen/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698