diff options
author | Ben Smith <binji@chromium.org> | 2016-04-12 12:42:09 -0700 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2016-04-12 14:59:44 -0700 |
commit | fb0f7da9c1ba977aa68f5e01346306ae13b8f59a (patch) | |
tree | f1ff7855186033fcb491dd2120f326a9db834397 /src/wasm-parser-lexer-shared.h | |
parent | 04140042f96a68f3610b4a24fdf456b5fac9792e (diff) | |
download | wabt-fb0f7da9c1ba977aa68f5e01346306ae13b8f59a.tar.gz wabt-fb0f7da9c1ba977aa68f5e01346306ae13b8f59a.tar.bz2 wabt-fb0f7da9c1ba977aa68f5e01346306ae13b8f59a.zip |
share WasmFuncDeclaration with Func and Import
There was some duplicated code between WasmFunc and WasmImport; both
allow you to specify a function signature or a function type. This
change introduces a WasmFuncDeclaration which is shared by both.
This also allows us to remove WasmTypeBindings.
Diffstat (limited to 'src/wasm-parser-lexer-shared.h')
-rw-r--r-- | src/wasm-parser-lexer-shared.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wasm-parser-lexer-shared.h b/src/wasm-parser-lexer-shared.h index 83c05a72..12b0f885 100644 --- a/src/wasm-parser-lexer-shared.h +++ b/src/wasm-parser-lexer-shared.h @@ -50,7 +50,6 @@ typedef union WasmToken { WasmVarVector vars; WasmExprPtr expr; WasmExprPtrVector exprs; - WasmTypeBindings type_bindings; WasmFuncField* func_fields; WasmFunc* func; WasmSegment segment; |