diff options
author | Ben Smith <binji@chromium.org> | 2016-10-24 11:32:25 -0700 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2016-10-26 10:16:25 -0700 |
commit | 4ec57d83d7869c3f96922debbe0b1e637d1fa2f8 (patch) | |
tree | bdc28444990f594d8e8af91837589bfb14b70636 /test/dump/return.txt | |
parent | 04b5b36fc0cc6746e5939bcafc4e95a7c40722c1 (diff) | |
download | wabt-4ec57d83d7869c3f96922debbe0b1e637d1fa2f8.tar.gz wabt-4ec57d83d7869c3f96922debbe0b1e637d1fa2f8.tar.bz2 wabt-4ec57d83d7869c3f96922debbe0b1e637d1fa2f8.zip |
Fix types for binary 0xd
* All types are unified (i32,i64,f32,f64,func,anyfunc,void)
* Can't use array to get type name; use `wasm_get_type_name` instead
* Encode types as vs7 (i.e. Signed LEB128 with max length 1 byte)
* Change version to 0xd
Diffstat (limited to 'test/dump/return.txt')
-rw-r--r-- | test/dump/return.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dump/return.txt b/test/dump/return.txt index d0160a5a..342dafef 100644 --- a/test/dump/return.txt +++ b/test/dump/return.txt @@ -8,18 +8,18 @@ return)) (;; STDOUT ;;; 0000000: 0061 736d ; WASM_BINARY_MAGIC -0000004: 0c00 0000 ; WASM_BINARY_VERSION +0000004: 0d00 0000 ; WASM_BINARY_VERSION ; section "TYPE" (1) 0000008: 01 ; section code 0000009: 00 ; section size (guess) 000000a: 02 ; num types ; type 0 -000000b: 40 ; function form +000000b: 60 ; func 000000c: 00 ; num params 000000d: 01 ; num results -000000e: 01 ; result type +000000e: 7f ; i32 ; type 1 -000000f: 40 ; function form +000000f: 60 ; func 0000010: 00 ; num params 0000011: 00 ; num results 0000009: 08 ; FIXUP section size |