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

Unified Diff: src/compiler/source-position.h

Issue 1890803002: [wasm] Generate source position information (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@wasm-throw-error
Patch Set: minor 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/source-position.h
diff --git a/src/compiler/source-position.h b/src/compiler/source-position.h
index 81db1d2e3eff4f97d0f93e484b83d321b8115259..e50d1f72cc01f9aa2c0ab91f3c1ba1eda0d6d758 100644
--- a/src/compiler/source-position.h
+++ b/src/compiler/source-position.h
@@ -75,6 +75,10 @@ class SourcePositionTable final {
SourcePosition GetSourcePosition(Node* node) const;
Michael Starzinger 2016/04/22 11:30:21 nit: Drop empty newline between getter and setter
Clemens Hammacher 2016/04/22 13:46:40 It's already there (getter on line 76, setter on 7
+ void SetSourcePosition(Node* node, SourcePosition position);
+
+ Graph* GetGraph() const { return graph_; }
Michael Starzinger 2016/04/22 11:30:21 nit: s/GetGraph/graph/ for this simple accessor. A
Clemens Hammacher 2016/04/22 13:46:40 OK, dropped it.
+
void Print(std::ostream& os) const;
private:

Powered by Google App Engine
This is Rietveld 408576698