diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-05-06 18:19:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 18:19:45 -0700 |
commit | badcb4098c9f5fc1700d994366600171e71270a2 (patch) | |
tree | 5355a077d46724477c67bb5e9df0633414aed5da /src | |
parent | 36b6a94cec5799bddab682996a02b41aab878816 (diff) | |
download | binaryen-badcb4098c9f5fc1700d994366600171e71270a2.tar.gz binaryen-badcb4098c9f5fc1700d994366600171e71270a2.tar.bz2 binaryen-badcb4098c9f5fc1700d994366600171e71270a2.zip |
Fix formatting of some comments (NFC) (#2091)
A few things that were missing in #2048.
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm-traversal.h | 4 | ||||
-rw-r--r-- | src/wasm-type.h | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/wasm-traversal.h b/src/wasm-traversal.h index 5a2debcdf..54fbef439 100644 --- a/src/wasm-traversal.h +++ b/src/wasm-traversal.h @@ -704,8 +704,8 @@ struct Walker : public VisitorType { void setFunction(Function* func) { currFunction = func; } private: - Expression** replacep = - nullptr; // the address of the current node, used to replace it + // the address of the current node, used to replace it + Expression** replacep = nullptr; SmallVector<Task, 10> stack; // stack of tasks Function* currFunction = nullptr; // current function being processed Module* currModule = nullptr; // current module being processed diff --git a/src/wasm-type.h b/src/wasm-type.h index 60253f6ab..fcaea04ec 100644 --- a/src/wasm-type.h +++ b/src/wasm-type.h @@ -28,9 +28,10 @@ enum Type { f32, f64, v128, - unreachable // none means no type, e.g. a block can have no return type. but - // unreachable is different, as it can be "ignored" when doing - // type checking across branches + // none means no type, e.g. a block can have no return type. but unreachable + // is different, as it can be "ignored" when doing type checking across + // branches + unreachable }; const char* printType(Type type); |