summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wasm-traversal.h4
-rw-r--r--src/wasm-type.h7
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);