Skip to content

Commit badcb40

Browse files
authored
Fix formatting of some comments (NFC) (#2091)
A few things that were missing in #2048.
1 parent 36b6a94 commit badcb40

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

src/wasm-traversal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,8 @@ struct Walker : public VisitorType {
704704
void setFunction(Function* func) { currFunction = func; }
705705

706706
private:
707-
Expression** replacep =
708-
nullptr; // the address of the current node, used to replace it
707+
// the address of the current node, used to replace it
708+
Expression** replacep = nullptr;
709709
SmallVector<Task, 10> stack; // stack of tasks
710710
Function* currFunction = nullptr; // current function being processed
711711
Module* currModule = nullptr; // current module being processed

src/wasm-type.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ enum Type {
2828
f32,
2929
f64,
3030
v128,
31-
unreachable // none means no type, e.g. a block can have no return type. but
32-
// unreachable is different, as it can be "ignored" when doing
33-
// type checking across branches
31+
// none means no type, e.g. a block can have no return type. but unreachable
32+
// is different, as it can be "ignored" when doing type checking across
33+
// branches
34+
unreachable
3435
};
3536

3637
const char* printType(Type type);

0 commit comments

Comments
 (0)