diff options
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r-- | src/wasm-builder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h index 4396bc6df..03d0e2da0 100644 --- a/src/wasm-builder.h +++ b/src/wasm-builder.h @@ -938,9 +938,9 @@ public: } StructGet* makeStructGet(Index index, Expression* ref, + MemoryOrder order, Type type, - bool signed_ = false, - MemoryOrder order = MemoryOrder::Unordered) { + bool signed_ = false) { auto* ret = wasm.allocator.alloc<StructGet>(); ret->index = index; ret->ref = ref; @@ -953,7 +953,7 @@ public: StructSet* makeStructSet(Index index, Expression* ref, Expression* value, - MemoryOrder order = MemoryOrder::Unordered) { + MemoryOrder order) { auto* ret = wasm.allocator.alloc<StructSet>(); ret->index = index; ret->ref = ref; |