diff options
author | Dominic Chen <d.c.ddcc@gmail.com> | 2016-07-11 14:29:59 -0700 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2016-07-11 14:29:59 -0700 |
commit | 8e936ce0635b66a3b2754292bab7c6c262b0bb1f (patch) | |
tree | 888a2a6bbd4b8555f9041adf1d7285444016267e /src/wasm.h | |
parent | 8c2ef78baf1bd93afe48a9112eda56aea6cb884d (diff) | |
download | binaryen-8e936ce0635b66a3b2754292bab7c6c262b0bb1f.tar.gz binaryen-8e936ce0635b66a3b2754292bab7c6c262b0bb1f.tar.bz2 binaryen-8e936ce0635b66a3b2754292bab7c6c262b0bb1f.zip |
add support for symbol assignments, closes #4422 (#615)
Adds support for aliases to objects, to go along with the existing support for aliases to functions.
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h index a71e09d19..40728de50 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -108,6 +108,9 @@ struct Address { Address& operator++() { ++addr; return *this; } }; +// An offset into memory +typedef int32_t Offset; + // Types enum WasmType { |