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

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

Issue 2451853002: Uniform and precise source positions for inlining (Closed)
Patch Set: fixed PodArray::copy_out 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/bytecode-graph-builder.cc
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
index 93a2971ed16837801609c32d5dbed6aee2bc28bd..9bae5e0a895024ba220bb69b86ee6822b43d4a45 100644
--- a/src/compiler/bytecode-graph-builder.cc
+++ b/src/compiler/bytecode-graph-builder.cc
@@ -8,6 +8,7 @@
#include "src/ast/scopes.h"
#include "src/compilation-info.h"
#include "src/compiler/bytecode-branch-analysis.h"
+#include "src/compiler/compiler-source-position-table.h"
#include "src/compiler/linkage.h"
#include "src/compiler/operator-properties.h"
#include "src/interpreter/bytecodes.h"
@@ -2195,7 +2196,7 @@ void BytecodeGraphBuilder::UpdateCurrentSourcePosition(
if (it->done()) return;
if (it->code_offset() == offset) {
- source_positions_->set_current_position(it->source_position());
+ source_positions_->SetCurrentPosition(it->source_position());
it->Advance();
} else {
DCHECK_GT(it->code_offset(), offset);

Powered by Google App Engine
This is Rietveld 408576698