mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-15 16:01:30 +00:00
Reduce inlining verbosity
With debug info and source maps in place there is not much value anymore in emitting explicitly named blocks.
This commit is contained in:
@ -1939,22 +1939,20 @@
|
||||
get_local $6
|
||||
call $~lib/internal/arraybuffer/allocateUnsafe
|
||||
set_local $7
|
||||
block $~lib/memory/memory.copy|inlined.0
|
||||
get_local $7
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
set_local $4
|
||||
get_local $0
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
get_local $1
|
||||
i32.add
|
||||
set_local $5
|
||||
get_local $4
|
||||
get_local $5
|
||||
get_local $6
|
||||
call $~lib/internal/memory/memmove
|
||||
end
|
||||
get_local $7
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
set_local $4
|
||||
get_local $0
|
||||
get_global $~lib/internal/arraybuffer/HEADER_SIZE
|
||||
i32.add
|
||||
get_local $1
|
||||
i32.add
|
||||
set_local $5
|
||||
get_local $4
|
||||
get_local $5
|
||||
get_local $6
|
||||
call $~lib/internal/memory/memmove
|
||||
get_local $7
|
||||
)
|
||||
(func $~lib/arraybuffer/ArrayBuffer#slice|trampoline (; 9 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
||||
|
Reference in New Issue
Block a user