diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2020-01-07 11:16:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-07 11:16:44 -0800 |
commit | e8f9d207427bda2f6e22c28ff0210b294b1f70e1 (patch) | |
tree | 503b20fb06274e38af7e25e3a1a4106827c52693 /src/wasm-type.h | |
parent | f73b40c7873dbd2dd46a962f3afe5b97a7fc8b0a (diff) | |
download | binaryen-e8f9d207427bda2f6e22c28ff0210b294b1f70e1.tar.gz binaryen-e8f9d207427bda2f6e22c28ff0210b294b1f70e1.tar.bz2 binaryen-e8f9d207427bda2f6e22c28ff0210b294b1f70e1.zip |
[NFC] Enforce use of `Type::` on type names (#2434)
Diffstat (limited to 'src/wasm-type.h')
-rw-r--r-- | src/wasm-type.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/wasm-type.h b/src/wasm-type.h index 668ac3e4d..18c429e95 100644 --- a/src/wasm-type.h +++ b/src/wasm-type.h @@ -148,18 +148,6 @@ std::ostream& operator<<(std::ostream& os, ParamType t); std::ostream& operator<<(std::ostream& os, ResultType t); std::ostream& operator<<(std::ostream& os, Signature t); -constexpr Type none = Type::none; -constexpr Type i32 = Type::i32; -constexpr Type i64 = Type::i64; -constexpr Type f32 = Type::f32; -constexpr Type f64 = Type::f64; -constexpr Type v128 = Type::v128; -constexpr Type funcref = Type::funcref; -constexpr Type anyref = Type::anyref; -constexpr Type nullref = Type::nullref; -constexpr Type exnref = Type::exnref; -constexpr Type unreachable = Type::unreachable; - } // namespace wasm template<> class std::hash<wasm::Signature> { |