mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-15 16:01:30 +00:00
Initial external decorator for annotating explicit import names; Use file name as default module name in imports; Emit empty memory if there are no static segments; Update TLSF and examples accordingly
This commit is contained in:
Binary file not shown.
@ -4,7 +4,7 @@
|
||||
(import "JSMath" "sqrt" (func $~lib/math/JSMath.sqrt (param f64) (result f64)))
|
||||
(import "JSMath" "log" (func $~lib/math/JSMath.log (param f64) (result f64)))
|
||||
(import "JSMath" "LN2" (global $~lib/math/JSMath.LN2 f64))
|
||||
(import "env" "memory" (memory $0 1))
|
||||
(import "env" "memory" (memory $0 0))
|
||||
(export "computeLine" (func $assembly/index/computeLine))
|
||||
(export "memory" (memory $0))
|
||||
(func $assembly/index/computeLine (; 2 ;) (type $iiiiv) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
||||
|
@ -6,7 +6,7 @@
|
||||
(import "JSMath" "sqrt" (func $~lib/math/JSMath.sqrt (param f64) (result f64)))
|
||||
(import "JSMath" "log" (func $~lib/math/JSMath.log (param f64) (result f64)))
|
||||
(import "JSMath" "LN2" (global $~lib/math/JSMath.LN2 f64))
|
||||
(import "env" "memory" (memory $0 1))
|
||||
(import "env" "memory" (memory $0 0))
|
||||
(global $assembly/index/NUM_COLORS i32 (i32.const 2048))
|
||||
(global $HEAP_BASE i32 (i32.const 8))
|
||||
(export "computeLine" (func $assembly/index/computeLine))
|
||||
|
Reference in New Issue
Block a user