summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r--src/wasm-builder.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index dccefa144..f182b1df2 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -293,19 +293,19 @@ public:
ret->finalize();
return ret;
}
- SIMDExtract* makeSIMDExtract(SIMDExtractOp op, Expression* vec, uint8_t idx) {
+ SIMDExtract* makeSIMDExtract(SIMDExtractOp op, Expression* vec, uint8_t index) {
auto* ret = allocator.alloc<SIMDExtract>();
ret->op = op;
ret->vec = vec;
- ret->idx = idx;
+ ret->index = index;
ret->finalize();
return ret;
}
- SIMDReplace* makeSIMDReplace(SIMDReplaceOp op, Expression* vec, uint8_t idx, Expression* value) {
+ SIMDReplace* makeSIMDReplace(SIMDReplaceOp op, Expression* vec, uint8_t index, Expression* value) {
auto* ret = allocator.alloc<SIMDReplace>();
ret->op = op;
ret->vec = vec;
- ret->idx = idx;
+ ret->index = index;
ret->value = value;
ret->finalize();
return ret;