diff options
author | Alon Zakai <alonzakai@gmail.com> | 2017-04-28 10:48:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-28 10:48:27 -0700 |
commit | 5d4f9eb82226acc0fdb5e2dea1a04e17c340c371 (patch) | |
tree | b1b18217aec65f04da0080a1d6d2266489d56db7 /src/passes/Precompute.cpp | |
parent | a0b162d13c7e8d5df1f1b6e33efd4d9e3f699aa9 (diff) | |
download | binaryen-5d4f9eb82226acc0fdb5e2dea1a04e17c340c371.tar.gz binaryen-5d4f9eb82226acc0fdb5e2dea1a04e17c340c371.tar.bz2 binaryen-5d4f9eb82226acc0fdb5e2dea1a04e17c340c371.zip |
Preserve debug info through the optimizer (#981)
* add debugInfo option to passes, and use it to keep debug info alive through optimizations when we need it
* add fib testcase for debug info
* when preserving debug info, do not move code around call-imports, so debug info intrinsics remain stationary
* improve wasm-module-building handling of the single-threaded case: don't create workers, which is more efficient and also nicer for debugging
* process debug info in a more precise way, reordering it from being after the node (as it was a comment in JS) to before the node
* remove unreachable hack for debug info, which is no longer needed since we reorder them, and make sure to finalize blocks in which we reorder
Diffstat (limited to 'src/passes/Precompute.cpp')
0 files changed, 0 insertions, 0 deletions