Index: src/wasm/module-decoder.cc |
diff --git a/src/wasm/module-decoder.cc b/src/wasm/module-decoder.cc |
index ada0c60e4f0cc958fc1a1e6fb23b6b3478339534..d6f40ccd9e28a719a2ceabb5203a4286a24a1aa2 100644 |
--- a/src/wasm/module-decoder.cc |
+++ b/src/wasm/module-decoder.cc |
@@ -259,7 +259,7 @@ class ModuleDecoder : public Decoder { |
module->min_mem_pages = 0; |
module->max_mem_pages = 0; |
module->mem_export = false; |
- module->origin = origin_; |
+ module->set_origin(origin_); |
const byte* pos = pc_; |
uint32_t magic_word = consume_u32("wasm magic"); |