From ce8ee20462a465f00520dbe0dd2aa3e1601f4ca1 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sat, 16 Jul 2016 14:45:38 -0700 Subject: fix unreachable constructor without allocator (#643) --- src/wasm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/wasm.h b/src/wasm.h index 40728de50..2d007be65 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -1318,10 +1318,10 @@ public: class Unreachable : public SpecificExpression { public: - Unreachable() {} - Unreachable(MixedArena& allocator) { + Unreachable() { type = unreachable; } + Unreachable(MixedArena& allocator) : Unreachable() {} }; // Globals -- cgit v1.2.3