diff options
author | Sam Clegg <sbc@chromium.org> | 2016-09-22 19:58:46 -0700 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2016-09-29 11:37:27 -0700 |
commit | 63d7dbb60245136872f2ca521fbd721dc76e0b9e (patch) | |
tree | ae9b0cc7a1f36429619f5739feabed6eb3e8c117 /test/dump/loop.txt | |
parent | b4d2bc2f3fe925a78a7e1ea061106b1f01e8dba2 (diff) | |
download | wabt-63d7dbb60245136872f2ca521fbd721dc76e0b9e.tar.gz wabt-63d7dbb60245136872f2ca521fbd721dc76e0b9e.tar.bz2 wabt-63d7dbb60245136872f2ca521fbd721dc76e0b9e.zip |
Update 'dump' tests for binary_0xc
Diffstat (limited to 'test/dump/loop.txt')
-rw-r--r-- | test/dump/loop.txt | 61 |
1 files changed, 29 insertions, 32 deletions
diff --git a/test/dump/loop.txt b/test/dump/loop.txt index cdf85e3b..13daec68 100644 --- a/test/dump/loop.txt +++ b/test/dump/loop.txt @@ -7,39 +7,36 @@ (;; STDOUT ;;; 0000000: 0061 736d ; WASM_BINARY_MAGIC 0000004: 0c00 0000 ; WASM_BINARY_VERSION -; section "type" -0000008: 04 ; string length -0000009: 7479 7065 ; section id: "type" -000000d: 00 ; section size (guess) -000000e: 01 ; num types +; section "TYPE" (1) +0000008: 01 ; section code +0000009: 00 ; section size (guess) +000000a: 01 ; num types ; type 0 -000000f: 40 ; function form -0000010: 00 ; num params -0000011: 00 ; num results -000000d: 04 ; FIXUP section size -; section "function" -0000012: 08 ; string length -0000013: 6675 6e63 7469 6f6e ; section id: "function" -000001b: 00 ; section size (guess) -000001c: 01 ; num functions -000001d: 00 ; function 0 signature index -000001b: 02 ; FIXUP section size -; section "code" -000001e: 04 ; string length -000001f: 636f 6465 ; section id: "code" -0000023: 00 ; section size (guess) -0000024: 01 ; num functions +000000b: 40 ; function form +000000c: 00 ; num params +000000d: 00 ; num results +0000009: 04 ; FIXUP section size +; section "FUNCTION" (3) +000000e: 03 ; section code +000000f: 00 ; section size (guess) +0000010: 01 ; num functions +0000011: 00 ; function 0 signature index +000000f: 02 ; FIXUP section size +; section "CODE" (10) +0000012: 0a ; section code +0000013: 00 ; section size (guess) +0000014: 01 ; num functions ; function body 0 -0000025: 00 ; func body size (guess) -0000026: 00 ; local decl count -0000027: 02 ; OPCODE_LOOP -0000028: 0a ; OPCODE_NOP -0000029: 0a ; OPCODE_NOP -000002a: 0f ; OPCODE_END -0000025: 05 ; FIXUP func body size -0000023: 07 ; FIXUP section size +0000015: 00 ; func body size (guess) +0000016: 00 ; local decl count +0000017: 02 ; OPCODE_LOOP +0000018: 00 ; WASM_TYPE_VOID +0000019: 0a ; OPCODE_NOP +000001a: 0a ; OPCODE_NOP +000001b: 0f ; OPCODE_END +0000015: 06 ; FIXUP func body size +0000013: 08 ; FIXUP section size ;; dump -0000000: 0061 736d 0c00 0000 0474 7970 6504 0140 -0000010: 0000 0866 756e 6374 696f 6e02 0100 0463 -0000020: 6f64 6507 0105 0002 0a0a 0f +0000000: 0061 736d 0c00 0000 0104 0140 0000 0302 +0000010: 0100 0a08 0106 0002 000a 0a0f ;;; STDOUT ;;) |