diff options
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wasm.h b/src/wasm.h index 3daff2c4c..b37fdeb1b 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -43,12 +43,12 @@ namespace wasm { // An index in a wasm module -typedef uint32_t Index; +using Index = uint32_t; // An address in linear memory. struct Address { - typedef uint32_t address32_t; - typedef uint64_t address64_t; + using address32_t = uint32_t; + using address64_t = uint64_t; address64_t addr; constexpr Address() : addr(0) {} constexpr Address(uint64_t a) : addr(a) {} @@ -805,7 +805,7 @@ const char* getExpressionName(Expression* curr); Literal getLiteralFromConstExpression(Expression* curr); Literals getLiteralsFromConstExpression(Expression* curr); -typedef ArenaVector<Expression*> ExpressionList; +using ExpressionList = ArenaVector<Expression*>; template<Expression::Id SID> class SpecificExpression : public Expression { public: |