diff options
author | Alon Zakai <azakai@google.com> | 2022-01-26 12:59:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-26 12:59:48 -0800 |
commit | 22003d8d4ab317a5da01edae63fadebc2e81bbd6 (patch) | |
tree | 13abfb13dc0594eb1e93ba581e0b094f165a9e15 /src/binaryen-c.cpp | |
parent | 97bb0bdacbb8ccd59aca116c66f0f43f322aebaa (diff) | |
download | binaryen-22003d8d4ab317a5da01edae63fadebc2e81bbd6.tar.gz binaryen-22003d8d4ab317a5da01edae63fadebc2e81bbd6.tar.bz2 binaryen-22003d8d4ab317a5da01edae63fadebc2e81bbd6.zip |
[NFC] Templatize/generalize RuntimeExpressionRunner (#4477)
Add a base class for it, that is templated and can be extended in general
ways, and make callFunction templated on the runner to use as well.
This allows the interpreter's behavior to be customized in a way that we
couldn't so far. wasm-ctor-eval wants to use a special Runner when it
evals a function, so that it can track certain operations, which this will
enable.
Diffstat (limited to 'src/binaryen-c.cpp')
0 files changed, 0 insertions, 0 deletions