summaryrefslogtreecommitdiff
path: root/src/binary-reader-objdump.cc
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-07-14 11:05:44 -0700
committerGitHub <noreply@github.com>2017-07-14 11:05:44 -0700
commit1c91faa7619869dc0cbcd06226494511df526c02 (patch)
treeffa3a6b3ad01e87b1d42cf3f87ef74f8fe0b414d /src/binary-reader-objdump.cc
parent9baa0e36730db024ba4cf5990d190206de457a62 (diff)
downloadwabt-1c91faa7619869dc0cbcd06226494511df526c02.tar.gz
wabt-1c91faa7619869dc0cbcd06226494511df526c02.tar.bz2
wabt-1c91faa7619869dc0cbcd06226494511df526c02.zip
Use templates instead of macros in interpreter (#564)
There's still more to be done, but this is a decent cleanup. There is now a template type called `ValueTypeRep` which is the integer representation of a given type. So for example, `ValueTypeRep<float>` => `uint32_t`. Nearly all of the unary and binary operators are defined via template functions that operate on these values.
Diffstat (limited to 'src/binary-reader-objdump.cc')
0 files changed, 0 insertions, 0 deletions