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

Unified Diff: src/compiler/ast-graph-builder.cc

Issue 2451853002: Uniform and precise source positions for inlining (Closed)
Patch Set: fixed gcmole 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
Index: src/compiler/ast-graph-builder.cc
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
index 4db8faf51685466ee2529f8747b3f7928d2b0434..3991093c6b1d7156b22b2c94454eb41b879925b2 100644
--- a/src/compiler/ast-graph-builder.cc
+++ b/src/compiler/ast-graph-builder.cc
@@ -4363,6 +4363,16 @@ Node* AstGraphBuilder::MergeValue(Node* value, Node* other, Node* control) {
return value;
}
+AstGraphBuilderWithPositions::AstGraphBuilderWithPositions(
+ Zone* local_zone, CompilationInfo* info, JSGraph* jsgraph,
+ float invocation_frequency, LoopAssignmentAnalysis* loop_assignment,
+ TypeHintAnalysis* type_hint_analysis, SourcePositionTable* source_positions,
+ int inlining_id)
+ : AstGraphBuilder(local_zone, info, jsgraph, invocation_frequency,
+ loop_assignment, type_hint_analysis),
+ source_positions_(source_positions),
+ start_position_(info->shared_info()->start_position(), inlining_id) {}
+
} // namespace compiler
} // namespace internal
} // namespace v8

Powered by Google App Engine
This is Rietveld 408576698