Skip to content

Commit 8d373d8

Browse files
committed
fix
1 parent 429647c commit 8d373d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wasm/wasm-ir-builder.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,6 +1055,7 @@ Result<> IRBuilder::makeLocalSet(Index local) {
10551055

10561056
Result<> IRBuilder::makeLocalTee(Index local) {
10571057
LocalSet curr;
1058+
curr.index = local;
10581059
CHECK_ERR(visitLocalSet(&curr));
10591060
push(builder.makeLocalTee(local, curr.value, func->getLocalType(local)));
10601061
return Ok{};

0 commit comments

Comments
 (0)