Description[wasm] Implement AST printing into an ostream
This will be used for disassembling individual wasm function for
showing them in devtools.
The PrintAst function now also optionally provides an offset table
mapping from byte offset to line and column in the generated text.
R=titzer@chromium.org, ahaas@chromium.org
BUG=chromium:613110
Committed: https://crrev.com/12aa132d873da628971f0610a987bcef302d9d9f
Cr-Commit-Position: refs/heads/master@{#37026}
Patch Set 1 #Patch Set 2 : fix printing uint64_t #Patch Set 3 : see if adding <functional> include fixes this #
Total comments: 6
Patch Set 4 : address titzer's comments #
Total comments: 4
Patch Set 5 : address ahaas' comments #
Messages
Total messages: 23 (11 generated)
|