diff options
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h index 306804c66..8a3ceac7c 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -626,10 +626,10 @@ class Load : public Expression { public: Load() : Expression(LoadId) {} - unsigned bytes; + uint32_t bytes; bool signed_; uint32_t offset; - unsigned align; + uint32_t align; Expression *ptr; std::ostream& doPrint(std::ostream &o, unsigned indent) { @@ -983,6 +983,7 @@ public: size_t offset; const char* data; size_t size; + Segment() {} Segment(size_t offset, const char *data, size_t size) : offset(offset), data(data), size(size) {} }; |