diff options
Diffstat (limited to 'src/tools/wasm-ctor-eval.cpp')
-rw-r--r-- | src/tools/wasm-ctor-eval.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/wasm-ctor-eval.cpp b/src/tools/wasm-ctor-eval.cpp index 17927f5a6..a940d9284 100644 --- a/src/tools/wasm-ctor-eval.cpp +++ b/src/tools/wasm-ctor-eval.cpp @@ -957,7 +957,8 @@ public: Expression* set; if (global.type.isStruct()) { - set = builder.makeStructSet(index, getGlobal, value); + set = + builder.makeStructSet(index, getGlobal, value, MemoryOrder::Unordered); } else { set = builder.makeArraySet( getGlobal, builder.makeConst(int32_t(index)), value); |