summaryrefslogtreecommitdiff
path: root/src/binary-reader-interpreter.cc
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-08-26 20:48:01 -0700
committerGitHub <noreply@github.com>2017-08-26 20:48:01 -0700
commit7223c1dc10ef63b884381df030ab1af760cbac91 (patch)
tree470ae1a51a7b3fe20d61baee8eee9c8e4017fa9c /src/binary-reader-interpreter.cc
parentb775de1e48b5b8064e758cbcd8020eb3df1f9e50 (diff)
downloadwabt-7223c1dc10ef63b884381df030ab1af760cbac91.tar.gz
wabt-7223c1dc10ef63b884381df030ab1af760cbac91.tar.bz2
wabt-7223c1dc10ef63b884381df030ab1af760cbac91.zip
Clean up various structs in ir.h (#595)
* Nicer static constructors for Const (e.g. `Const::F32()`) * Protect `type` member when used as discriminant in type hierarchy (e.g. `Expr`, `ModuleField`, etc.) * Remove pointer member fields where possible. Where not, use `std::unique_ptr` instead. * Remove nearly all uses of unions (`Var` and `Const` still use them) * Rename `make_unique` to `MakeUnique` so to not conflict with `std::make_unique` when found by ADL.
Diffstat (limited to 'src/binary-reader-interpreter.cc')
0 files changed, 0 insertions, 0 deletions