diff options
Diffstat (limited to 'src/binary-reader-interpreter.cc')
-rw-r--r-- | src/binary-reader-interpreter.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/binary-reader-interpreter.cc b/src/binary-reader-interpreter.cc index fcb6fede..d4153edd 100644 --- a/src/binary-reader-interpreter.cc +++ b/src/binary-reader-interpreter.cc @@ -900,6 +900,7 @@ Result BinaryReaderInterpreter::BeginGlobal(uint32_t index, InterpreterGlobal* global = GetGlobalByModuleIndex(index); global->typed_value.type = type; global->mutable_ = mutable_; + init_expr_value.type = Type::Void; return Result::Ok; } |