diff options
Diffstat (limited to 'src/wasm-ir-builder.h')
-rw-r--r-- | src/wasm-ir-builder.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/wasm-ir-builder.h b/src/wasm-ir-builder.h index 250d5d17c..a40e8df82 100644 --- a/src/wasm-ir-builder.h +++ b/src/wasm-ir-builder.h @@ -204,8 +204,13 @@ public: makeBrOn(Index label, BrOnOp op, Type in = Type::none, Type out = Type::none); Result<> makeStructNew(HeapType type); Result<> makeStructNewDefault(HeapType type); - Result<> makeStructGet(HeapType type, Index field, bool signed_); - Result<> makeStructSet(HeapType type, Index field); + Result<> makeStructGet(HeapType type, + Index field, + bool signed_, + MemoryOrder order = MemoryOrder::Unordered); + Result<> makeStructSet(HeapType type, + Index field, + MemoryOrder order = MemoryOrder::Unordered); Result<> makeArrayNew(HeapType type); Result<> makeArrayNewDefault(HeapType type); Result<> makeArrayNewData(HeapType type, Name data); |