Properly inline getters; Simplify blocks when last statement returns

This commit is contained in:
dcodeIO
2018-06-22 15:26:59 +02:00
parent 525795b354
commit 7a8995b18b
75 changed files with 5090 additions and 6836 deletions

View File

@ -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