mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-12 22:41:27 +00:00
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:
@ -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)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user