Skip to content
This repository was archived by the owner on May 11, 2020. It is now read-only.

Commit 059d335

Browse files
vibhavpsbinet
authored andcommitted
exec: callIndirect: Use the correct index in doCall.
1 parent c8c5389 commit 059d335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exec/call.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@ func (vm *VM) callIndirect() {
8181
}
8282
}
8383

84-
vm.doCall(vm.compiledFuncs[elemIndex], int64(index))
84+
vm.doCall(vm.compiledFuncs[elemIndex], int64(elemIndex))
8585
}

0 commit comments

Comments
 (0)