mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-14 07:21:30 +00:00
Properly inline getters; Simplify blocks when last statement returns
This commit is contained in:
@ -3417,30 +3417,28 @@
|
||||
)
|
||||
)
|
||||
(set_global $std/operator-overloading/ais
|
||||
(tee_local $0
|
||||
(call $std/operator-overloading/Tester#constructor
|
||||
(i32.const 0)
|
||||
(i32.add
|
||||
(i32.load
|
||||
(tee_local $0
|
||||
(get_global $std/operator-overloading/ais1)
|
||||
)
|
||||
)
|
||||
(i32.load
|
||||
(tee_local $1
|
||||
(get_global $std/operator-overloading/ais2)
|
||||
)
|
||||
(call $std/operator-overloading/Tester#constructor
|
||||
(i32.const 0)
|
||||
(i32.add
|
||||
(i32.load
|
||||
(tee_local $0
|
||||
(get_global $std/operator-overloading/ais1)
|
||||
)
|
||||
)
|
||||
(i32.add
|
||||
(i32.load offset=4
|
||||
(get_local $0)
|
||||
)
|
||||
(i32.load offset=4
|
||||
(get_local $1)
|
||||
(i32.load
|
||||
(tee_local $1
|
||||
(get_global $std/operator-overloading/ais2)
|
||||
)
|
||||
)
|
||||
)
|
||||
(i32.add
|
||||
(i32.load offset=4
|
||||
(get_local $0)
|
||||
)
|
||||
(i32.load offset=4
|
||||
(get_local $1)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
(if
|
||||
@ -3490,30 +3488,28 @@
|
||||
)
|
||||
)
|
||||
(set_global $std/operator-overloading/aii
|
||||
(tee_local $0
|
||||
(call $std/operator-overloading/Tester#constructor
|
||||
(i32.const 0)
|
||||
(i32.add
|
||||
(i32.load
|
||||
(tee_local $1
|
||||
(get_global $std/operator-overloading/aii1)
|
||||
)
|
||||
)
|
||||
(i32.load
|
||||
(tee_local $0
|
||||
(get_global $std/operator-overloading/aii2)
|
||||
)
|
||||
(call $std/operator-overloading/Tester#constructor
|
||||
(i32.const 0)
|
||||
(i32.add
|
||||
(i32.load
|
||||
(tee_local $1
|
||||
(get_global $std/operator-overloading/aii1)
|
||||
)
|
||||
)
|
||||
(i32.add
|
||||
(i32.load offset=4
|
||||
(get_local $1)
|
||||
)
|
||||
(i32.load offset=4
|
||||
(get_local $0)
|
||||
(i32.load
|
||||
(tee_local $0
|
||||
(get_global $std/operator-overloading/aii2)
|
||||
)
|
||||
)
|
||||
)
|
||||
(i32.add
|
||||
(i32.load offset=4
|
||||
(get_local $1)
|
||||
)
|
||||
(i32.load offset=4
|
||||
(get_local $0)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
(if
|
||||
|
Reference in New Issue
Block a user