v8/test/inspector/debugger/wasm-source-expected.txt
clemensh 172f501233 [wasm] Implement official wasm text format
When disassembling functions for the inspector, we used an internal
text representation before. This CL implements the official text
format like it is understood by the spec interpreter.

Example output:
func $main (param i32) (result i32)
block i32
  get_local 0
  i32.const 2
  i32.lt_u
  if
    i32.const -2
    return
  end
  get_local 0
  call_indirect 0
end

R=rossberg@chromium.org, titzer@chromium.org
BUG=chromium:659715

Review-Url: https://codereview.chromium.org/2520943002
Cr-Commit-Position: refs/heads/master@{#41172}
2016-11-22 11:59:56 +00:00

10 lines
212 B
Plaintext

Check that inspector gets disassembled wasm code
Paused on debugger!
Number of frames: 5
[0] debugger;
[1] call 0
[2] call_indirect 2
[3] instance.exports.main();
[4] testFunction(module_bytes)
Finished.