summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 2fa117b91..a064a3431 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -975,10 +975,9 @@ public:
UnaryOp op;
Expression *value;
- // the type is always the type of the operands,
- // except for relationals
-
bool isRelational() { return op == EqZ; }
+
+ // no finalize since some opcodes have more than one type, so user must set it anyhow
};
class Binary : public Expression {