diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h index b13011bae..c089d46b9 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -763,7 +763,9 @@ public: WasmType type; // the type of the expression: its *output*, not necessarily its input(s) Expression(Id id) : _id(id), type(none) {} - + + void finalize() {} + template<class T> bool is() { return int(_id) == int(T::SpecificId); |