diff options
author | Ben Smith <binji@chromium.org> | 2015-09-07 23:04:48 -0700 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2015-09-07 23:04:48 -0700 |
commit | e71592d7eca77036ecb32bbf9db0a7f49a5a7401 (patch) | |
tree | 1bc3d68f38931b4eef3c42dc28d0689e9ce8e1ae /test/dump/loop.txt | |
parent | c8683362292758b5b4d11b899cbb00ebb410a73f (diff) | |
download | wabt-e71592d7eca77036ecb32bbf9db0a7f49a5a7401.tar.gz wabt-e71592d7eca77036ecb32bbf9db0a7f49a5a7401.tar.bz2 wabt-e71592d7eca77036ecb32bbf9db0a7f49a5a7401.zip |
wrap all functions in an OPCODE_BLOCK
The v8-native-prototype doesn't work properly without it.
Diffstat (limited to 'test/dump/loop.txt')
-rw-r--r-- | test/dump/loop.txt | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/test/dump/loop.txt b/test/dump/loop.txt index f123f593..25cef255 100644 --- a/test/dump/loop.txt +++ b/test/dump/loop.txt @@ -24,13 +24,15 @@ 000001f: 00 ; func external ; function data 0 000000e: 2000 0000 ; FIXUP func code start offset -0000020: 06 ; OPCODE_LOOP -0000021: 00 ; num expressions -0000022: 00 ; OPCODE_NOP -0000023: 00 ; OPCODE_NOP -0000021: 02 ; FIXUP num expressions -0000012: 2400 0000 ; FIXUP func code end offset +0000020: 03 ; OPCODE_BLOCK +0000021: 01 ; toplevel block num expressions +0000022: 06 ; OPCODE_LOOP +0000023: 00 ; num expressions +0000024: 00 ; OPCODE_NOP +0000025: 00 ; OPCODE_NOP +0000023: 02 ; FIXUP num expressions +0000012: 2600 0000 ; FIXUP func code end offset ; names 0000000: 0001 0000 0100 0000 0000 0000 0000 2000 .............. . -0000010: 0000 2400 0000 0000 0000 0000 0000 0000 ..$............. -0000020: 0602 0000 .... +0000010: 0000 2600 0000 0000 0000 0000 0000 0000 ..&............. +0000020: 0301 0602 0000 ...... |