mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-31 22:22:13 +00:00
Rename memory instructions; Rework constant handling
This commit is contained in:
@@ -312,26 +312,26 @@
|
||||
)
|
||||
(func $start (; 2 ;) (type $v)
|
||||
(i64.store
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i64.const 1229782938247303441)
|
||||
)
|
||||
(i64.store
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 8)
|
||||
)
|
||||
(i64.const 2459565876494606882)
|
||||
)
|
||||
(i64.store
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 16)
|
||||
)
|
||||
(i64.const 3689348814741910323)
|
||||
)
|
||||
(i64.store
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 24)
|
||||
)
|
||||
(i64.const 4919131752989213764)
|
||||
@@ -339,11 +339,11 @@
|
||||
(set_global $memmove/dest
|
||||
(call $memmove/memmove
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 1)
|
||||
)
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 16)
|
||||
)
|
||||
(i32.const 4)
|
||||
@@ -354,7 +354,7 @@
|
||||
(i32.eq
|
||||
(get_global $memmove/dest)
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 1)
|
||||
)
|
||||
)
|
||||
@@ -373,7 +373,7 @@
|
||||
(i32.eqz
|
||||
(i64.eq
|
||||
(i64.load
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
)
|
||||
(i64.const 1229783084848853777)
|
||||
)
|
||||
@@ -390,8 +390,8 @@
|
||||
)
|
||||
(set_global $memmove/dest
|
||||
(call $memmove/memmove
|
||||
(i32.const 8)
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 32)
|
||||
)
|
||||
)
|
||||
@@ -399,7 +399,7 @@
|
||||
(i32.eqz
|
||||
(i32.eq
|
||||
(get_global $memmove/dest)
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
)
|
||||
)
|
||||
(block
|
||||
@@ -416,7 +416,7 @@
|
||||
(i32.eqz
|
||||
(i64.eq
|
||||
(i64.load
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
)
|
||||
(i64.const 1229783084848853777)
|
||||
)
|
||||
@@ -436,7 +436,7 @@
|
||||
(i64.eq
|
||||
(i64.load
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 8)
|
||||
)
|
||||
)
|
||||
@@ -458,7 +458,7 @@
|
||||
(i64.eq
|
||||
(i64.load
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 16)
|
||||
)
|
||||
)
|
||||
@@ -480,7 +480,7 @@
|
||||
(i64.eq
|
||||
(i64.load
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 24)
|
||||
)
|
||||
)
|
||||
@@ -500,11 +500,11 @@
|
||||
(set_global $memmove/dest
|
||||
(call $memmove/memmove
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 5)
|
||||
)
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 28)
|
||||
)
|
||||
(i32.const 3)
|
||||
@@ -514,7 +514,7 @@
|
||||
(i32.eqz
|
||||
(i64.eq
|
||||
(i64.load
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
)
|
||||
(i64.const 4919131679688438545)
|
||||
)
|
||||
@@ -532,11 +532,11 @@
|
||||
(set_global $memmove/dest
|
||||
(call $memmove/memmove
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 8)
|
||||
)
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 16)
|
||||
)
|
||||
(i32.const 15)
|
||||
@@ -546,7 +546,7 @@
|
||||
(i32.eqz
|
||||
(i64.eq
|
||||
(i64.load
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
)
|
||||
(i64.const 4919131679688438545)
|
||||
)
|
||||
@@ -566,7 +566,7 @@
|
||||
(i64.eq
|
||||
(i64.load
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 8)
|
||||
)
|
||||
)
|
||||
@@ -588,7 +588,7 @@
|
||||
(i64.eq
|
||||
(i64.load
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 16)
|
||||
)
|
||||
)
|
||||
@@ -610,7 +610,7 @@
|
||||
(i64.eq
|
||||
(i64.load
|
||||
(i32.add
|
||||
(i32.const 8)
|
||||
(get_global $memmove/base)
|
||||
(i32.const 24)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user