mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-22 03:01:55 +00:00
Update Binaryen to latest; Various fixes
This commit is contained in:
@ -10,6 +10,9 @@
|
||||
(type $I (func (result i64)))
|
||||
(type $iv (func (param i32)))
|
||||
(type $FUNCSIG$i (func (result i32)))
|
||||
(import "env" "memory" (memory $0 0))
|
||||
(table 1 anyfunc)
|
||||
(elem (i32.const 0) $null)
|
||||
(import "options" "onSection" (func $assembly/options/onSection (param i32 i32 i32 i32 i32) (result i32)))
|
||||
(import "options" "onType" (func $assembly/options/onType (param i32 i32)))
|
||||
(import "options" "onTypeParam" (func $assembly/options/onTypeParam (param i32 i32 i32)))
|
||||
@ -29,7 +32,6 @@
|
||||
(import "options" "onFunctionName" (func $assembly/options/onFunctionName (param i32 i32 i32)))
|
||||
(import "options" "onLocalName" (func $assembly/options/onLocalName (param i32 i32 i32 i32)))
|
||||
(import "options" "onSourceMappingURL" (func $assembly/options/onSourceMappingURL (param i32 i32)))
|
||||
(import "env" "memory" (memory $0 0))
|
||||
(global $assembly/index/off (mut i32) (i32.const 0))
|
||||
(global $src/common/SectionId.Custom (mut i32) (i32.const 0))
|
||||
(global $src/common/SectionId.Type (mut i32) (i32.const 1))
|
||||
@ -57,6 +59,7 @@
|
||||
(global $src/common/NameType.Function (mut i32) (i32.const 1))
|
||||
(global $src/common/NameType.Local (mut i32) (i32.const 2))
|
||||
(export "memory" (memory $0))
|
||||
(export "table" (table $0))
|
||||
(export "parse" (func $assembly/index/parse))
|
||||
(func $assembly/index/readVaruint (; 19 ;) (; has Stack IR ;) (type $FUNCSIG$i) (result i32)
|
||||
(local $0 i32)
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user