Implement bulk memory operations (#467)

This commit is contained in:
Daniel Wirtz
2019-02-07 11:40:23 +01:00
committed by GitHub
parent 831054dfd3
commit f551bc78e1
23 changed files with 331 additions and 263 deletions

View File

@ -1919,7 +1919,7 @@
local.get $1
call $~lib/internal/arraybuffer/allocateUnsafe
local.set $3
block $~lib/memory/memory.copy|inlined.0
block $memory.copy|inlined.0
local.get $3
global.get $~lib/internal/arraybuffer/HEADER_SIZE
i32.add
@ -1945,7 +1945,7 @@
local.get $3
local.set $0
end
block $~lib/memory/memory.fill|inlined.0
block $memory.fill|inlined.0
local.get $0
global.get $~lib/internal/arraybuffer/HEADER_SIZE
i32.add