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

Unified Diff: src/compiler/simplified-lowering.cc

Issue 1890803002: [wasm] Generate source position information (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@wasm-throw-error
Patch Set: some doc and fixes Created 4 years, 8 months 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/simplified-lowering.cc
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc
index 176a9ea7408887607e17e92fd81cad4512894759..040dc2cd9589f5702cf2a32a96b25363ddcf8d35 100644
--- a/src/compiler/simplified-lowering.cc
+++ b/src/compiler/simplified-lowering.cc
@@ -305,8 +305,8 @@ class RepresentationSelector {
NodeInfo* info = GetInfo(node);
TRACE(" visit #%d: %s\n", node->id(), node->op()->mnemonic());
// Reuse {VisitNode()} so the representation rules are in one place.
- SourcePositionTable::Scope scope(
- source_positions_, source_positions_->GetSourcePosition(node));
+ SourcePositionScope scope(source_positions_,
+ source_positions_->GetSourcePosition(node));
VisitNode(node, info->truncation(), lowering);
}

Powered by Google App Engine
This is Rietveld 408576698