summaryrefslogtreecommitdiff
path: root/test/dump/loop.txt
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2015-12-03 14:23:07 -0800
committerBen Smith <binji@chromium.org>2015-12-03 17:25:27 -0800
commit72d7881ba492b3e6a152b5575cc49e2c4251e90b (patch)
tree2c8e45ed535a2f35db557377677a6bff7e3167c3 /test/dump/loop.txt
parent3334ddf0b47c607fe7b1e7cd0371edf781fc1491 (diff)
downloadwabt-72d7881ba492b3e6a152b5575cc49e2c4251e90b.tar.gz
wabt-72d7881ba492b3e6a152b5575cc49e2c4251e90b.tar.bz2
wabt-72d7881ba492b3e6a152b5575cc49e2c4251e90b.zip
don't write func name offset if func is not exported
This was originally done because it was difficult to do otherwise with the old binary generator.
Diffstat (limited to 'test/dump/loop.txt')
-rw-r--r--test/dump/loop.txt17
1 files changed, 8 insertions, 9 deletions
diff --git a/test/dump/loop.txt b/test/dump/loop.txt
index 87024491..e6c87138 100644
--- a/test/dump/loop.txt
+++ b/test/dump/loop.txt
@@ -13,14 +13,13 @@
0000004: 02 ; WASM_SECTION_FUNCTIONS
0000005: 01 ; num functions
; function 0
-0000006: 01 ; func flags
+0000006: 00 ; func flags
0000007: 0000 ; func signature index
-0000009: 0000 0000 ; func name offset
-000000d: 0000 ; func body size
-000000f: 02 ; OPCODE_LOOP
-0000010: 02 ; num expressions
-0000011: 00 ; OPCODE_NOP
-0000012: 00 ; OPCODE_NOP
-000000d: 0400 ; FIXUP func body size
-0000013: 06 ; WASM_SECTION_END
+0000009: 0000 ; func body size
+000000b: 02 ; OPCODE_LOOP
+000000c: 02 ; num expressions
+000000d: 00 ; OPCODE_NOP
+000000e: 00 ; OPCODE_NOP
+0000009: 0400 ; FIXUP func body size
+000000f: 06 ; WASM_SECTION_END
;;; STDOUT ;;)