mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-17 08:51:34 +00:00
Avoid trampolines where optional arguments are constant literals, see #102; Fix temporary local flags not being cleared; Fix inlined temporary locals not being free'd; Fix inlined flows not breaking after returns; Allow changetype of u32s, i.e. function pointers
This commit is contained in:
@ -2767,7 +2767,7 @@
|
||||
(if
|
||||
(i32.eqz
|
||||
(if (result i32)
|
||||
(tee_local $0
|
||||
(tee_local $1
|
||||
(i32.eq
|
||||
(i32.load
|
||||
(get_global $std/operator-overloading/ais)
|
||||
@ -2781,7 +2781,7 @@
|
||||
)
|
||||
(i32.const 5)
|
||||
)
|
||||
(get_local $0)
|
||||
(get_local $1)
|
||||
)
|
||||
)
|
||||
(block
|
||||
@ -2813,22 +2813,22 @@
|
||||
(i32.const 0)
|
||||
(i32.add
|
||||
(i32.load
|
||||
(tee_local $0
|
||||
(tee_local $1
|
||||
(get_global $std/operator-overloading/aii1)
|
||||
)
|
||||
)
|
||||
(i32.load
|
||||
(tee_local $1
|
||||
(tee_local $0
|
||||
(get_global $std/operator-overloading/aii2)
|
||||
)
|
||||
)
|
||||
)
|
||||
(i32.add
|
||||
(i32.load offset=4
|
||||
(get_local $0)
|
||||
(get_local $1)
|
||||
)
|
||||
(i32.load offset=4
|
||||
(get_local $1)
|
||||
(get_local $0)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user