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

Unified Diff: src/messages.cc

Issue 2563673002: [wasm] Generate correct locations for error messages (Closed)
Patch Set: Rebase Created 4 years 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/isolate.cc ('k') | test/message/wasm-trap.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.cc
diff --git a/src/messages.cc b/src/messages.cc
index 4a6d30a7aa4650853e1d44389ebe26738bbcc829..b55a1a505aced16cf4eef8fe6172e72462db4501 100644
--- a/src/messages.cc
+++ b/src/messages.cc
@@ -673,6 +673,7 @@ MaybeHandle<String> WasmStackFrame::ToString() {
}
int WasmStackFrame::GetPosition() const {
+ // TODO(wasm): Clean this up (bug 5007).
return (offset_ < 0) ? (-1 - offset_) : code_->SourcePosition(offset_);
}
« no previous file with comments | « src/isolate.cc ('k') | test/message/wasm-trap.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698