mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-17 17:01:37 +00:00
Initial GC integration (#196)
This commit is contained in:
@ -210,7 +210,6 @@
|
||||
(local $6 i32)
|
||||
(local $7 i32)
|
||||
(local $8 i32)
|
||||
(local $9 i32)
|
||||
(if
|
||||
(i32.eqz
|
||||
(i32.ne
|
||||
@ -222,7 +221,7 @@
|
||||
(call $~lib/env/abort
|
||||
(i32.const 0)
|
||||
(i32.const 12)
|
||||
(i32.const 245)
|
||||
(i32.const 241)
|
||||
(i32.const 4)
|
||||
)
|
||||
(unreachable)
|
||||
@ -245,37 +244,32 @@
|
||||
(get_local $0)
|
||||
)
|
||||
)
|
||||
(set_local $8
|
||||
(block $~lib/internal/string/clamp<isize>|inlined.0 (result i32)
|
||||
(set_local $5
|
||||
(i32.const 0)
|
||||
)
|
||||
(select
|
||||
(tee_local $6
|
||||
(select
|
||||
(tee_local $6
|
||||
(get_local $3)
|
||||
)
|
||||
(tee_local $7
|
||||
(get_local $5)
|
||||
)
|
||||
(i32.gt_s
|
||||
(get_local $6)
|
||||
(get_local $7)
|
||||
)
|
||||
(set_local $7
|
||||
(select
|
||||
(tee_local $5
|
||||
(select
|
||||
(tee_local $5
|
||||
(get_local $3)
|
||||
)
|
||||
(tee_local $6
|
||||
(i32.const 0)
|
||||
)
|
||||
(i32.gt_s
|
||||
(get_local $5)
|
||||
(get_local $6)
|
||||
)
|
||||
)
|
||||
(tee_local $7
|
||||
(get_local $4)
|
||||
)
|
||||
(i32.lt_s
|
||||
(get_local $6)
|
||||
(get_local $7)
|
||||
)
|
||||
)
|
||||
(tee_local $6
|
||||
(get_local $4)
|
||||
)
|
||||
(i32.lt_s
|
||||
(get_local $5)
|
||||
(get_local $6)
|
||||
)
|
||||
)
|
||||
)
|
||||
(set_local $9
|
||||
(set_local $8
|
||||
(i32.load
|
||||
(get_local $1)
|
||||
)
|
||||
@ -283,8 +277,8 @@
|
||||
(if
|
||||
(i32.gt_s
|
||||
(i32.add
|
||||
(get_local $9)
|
||||
(get_local $8)
|
||||
(get_local $7)
|
||||
)
|
||||
(get_local $4)
|
||||
)
|
||||
@ -295,10 +289,10 @@
|
||||
(i32.eqz
|
||||
(call $~lib/internal/string/compareUnsafe
|
||||
(get_local $0)
|
||||
(get_local $8)
|
||||
(get_local $7)
|
||||
(get_local $1)
|
||||
(i32.const 0)
|
||||
(get_local $9)
|
||||
(get_local $8)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user