diff options
author | Ben Smith <binjimin@gmail.com> | 2017-04-27 16:34:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-27 16:34:07 -0700 |
commit | 690e436cda8cb25181cccc2ebcb884d277454920 (patch) | |
tree | d562879cb28db98a9321c618e5ff1f6331c9a11a /src/binary-reader-interpreter.cc | |
parent | 8e1f6031e9889ba770c7be4a9b084da5f14456a0 (diff) | |
download | wabt-690e436cda8cb25181cccc2ebcb884d277454920.tar.gz wabt-690e436cda8cb25181cccc2ebcb884d277454920.tar.bz2 wabt-690e436cda8cb25181cccc2ebcb884d277454920.zip |
Move Opcode/OpcodeInfo to opcode.{c,h} (#412)
I forgot to set s_initialized to true in init_opcode_info, which meant
that it was _really_ slow (on my laptop, parsing AngryBots.wast, 75% of
the time was spent in init_opcode_info). Whoops.
I could have fixed it by just setting s_initialized to true, but instead
I just filled in the gaps with operations called "Invalid_0x16" etc.
I also took this as an opportunity to move the opcode stuff into its own
files, and use .def files for the opcode information lists.
Diffstat (limited to 'src/binary-reader-interpreter.cc')
0 files changed, 0 insertions, 0 deletions