Wasm backend: fix low-level memory copying function

This commit is contained in:
Alexey Andreev 2018-05-11 20:02:52 +03:00
parent a81eeeee03
commit 5e3514e5dd

View File

@ -233,8 +233,8 @@ public final class WasmRuntime {
source = source.add(1);
}
} else {
source.add(count);
target.add(count);
source = source.add(count);
target = target.add(count);
while (count-- > 0) {
target = target.add(-1);
source = source.add(-1);