diff options
author | Alon Zakai <alonzakai@gmail.com> | 2018-04-13 09:17:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-13 09:17:21 -0700 |
commit | fd3b3e54bd97abbf8269b33d937ad2f44ba4bb60 (patch) | |
tree | f36ce91f19944f00460035105758f61606a42bdd /.gitattributes | |
parent | 7a8273ae2c1854b9840fc56a952e572f673bb10f (diff) | |
download | binaryen-fd3b3e54bd97abbf8269b33d937ad2f44ba4bb60.tar.gz binaryen-fd3b3e54bd97abbf8269b33d937ad2f44ba4bb60.tar.bz2 binaryen-fd3b3e54bd97abbf8269b33d937ad2f44ba4bb60.zip |
Refactor interpreter (#1508)
* Move more logic to the Literal class. We now leave all the work to there, except for handling traps.
* Avoid switching on the type, then the opcode, then Literal method usually switches on the type again - instead, do one big switch for the opcodes (then the Literal method is unchanged) which is shorter and clearer, and avoids that first switching.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions