mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-20 10:16:37 +00:00
more loader updates
This commit is contained in:
@ -1,2 +1,5 @@
|
||||
import { ArrayBufferView } from "arraybuffer";
|
||||
|
||||
assert(idof<ArrayBuffer>() == 0);
|
||||
assert(idof<String>() == 1);
|
||||
assert(idof<ArrayBufferView>() == 2);
|
||||
|
@ -16,7 +16,7 @@
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 24
|
||||
i32.const 1
|
||||
i32.const 3
|
||||
i32.const 0
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
@ -28,7 +28,19 @@
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 24
|
||||
i32.const 2
|
||||
i32.const 4
|
||||
i32.const 0
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
end
|
||||
i32.const 2
|
||||
i32.const 2
|
||||
i32.eq
|
||||
i32.eqz
|
||||
if
|
||||
i32.const 0
|
||||
i32.const 24
|
||||
i32.const 5
|
||||
i32.const 0
|
||||
call $~lib/builtins/abort
|
||||
unreachable
|
||||
|
Reference in New Issue
Block a user