diff options
author | Alon Zakai <azakai@google.com> | 2022-01-06 14:33:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 14:33:04 -0800 |
commit | 5049f077ae2d21166dc8ee4c3057bdc48cb3d94c (patch) | |
tree | 8adebb5f32a3ff4cd8901a843ef66d1f7a4ad00f /src/wasm/wasm-binary.cpp | |
parent | 5e3a53bb8306e732d1b40cd09fe1853645cdfbfa (diff) | |
download | binaryen-5049f077ae2d21166dc8ee4c3057bdc48cb3d94c.tar.gz binaryen-5049f077ae2d21166dc8ee4c3057bdc48cb3d94c.tar.bz2 binaryen-5049f077ae2d21166dc8ee4c3057bdc48cb3d94c.zip |
[ctor-eval] Refactor an applyToModule() method instead of hacks [NFC] (#4425)
Previously this would hackishly apply all execution changes to the memory
all the time, and then "undo" it by saving the state before and copying that in.
Instead, this PR makes execution write into a side buffer, and now there is a
clear method for when we want to actually apply the results to the module.
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
0 files changed, 0 insertions, 0 deletions