Reintroduce builtin decorator so these can appear anywhere in stdlib again

Avoids wrapping an undocumented function within 'memory.size' for example.
This commit is contained in:
dcodeIO
2018-07-19 02:10:04 +02:00
parent 96411c7398
commit 26e46f6f86
80 changed files with 6889 additions and 7157 deletions

View File

@ -1692,7 +1692,7 @@
(get_local $13)
)
)
(func $isNaN<f32> (; 2 ;) (type $fi) (param $0 f32) (result i32)
(func $~lib/builtins/isNaN<f32> (; 2 ;) (type $fi) (param $0 f32) (result i32)
(f32.ne
(get_local $0)
(get_local $0)
@ -1754,7 +1754,7 @@
)
)
(get_local $7)
(call $isNaN<f32>
(call $~lib/builtins/isNaN<f32>
(get_local $1)
)
)
@ -3550,7 +3550,7 @@
(get_local $11)
)
)
(func $isNaN<f64> (; 6 ;) (type $Fi) (param $0 f64) (result i32)
(func $~lib/builtins/isNaN<f64> (; 6 ;) (type $Fi) (param $0 f64) (result i32)
(f64.ne
(get_local $0)
(get_local $0)
@ -3618,7 +3618,7 @@
)
)
(get_local $7)
(call $isNaN<f64>
(call $~lib/builtins/isNaN<f64>
(get_local $1)
)
)