diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-07-06 13:10:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-06 13:10:21 -0700 |
commit | 9455a8749e1bb2c4788c37495b9cd319f046f6ff (patch) | |
tree | da02eadeae89d40f82a1e203b11e581138682129 /src/wasm-binary.h | |
parent | 05d7bd3028793de007043eacc6e73b1c0cedb7ba (diff) | |
parent | fa050b2f9c1e4b68c5067487515d1f67ae9bf9cf (diff) | |
download | binaryen-9455a8749e1bb2c4788c37495b9cd319f046f6ff.tar.gz binaryen-9455a8749e1bb2c4788c37495b9cd319f046f6ff.tar.bz2 binaryen-9455a8749e1bb2c4788c37495b9cd319f046f6ff.zip |
Merge pull request #621 from WebAssembly/spec-update
Spec test update
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index a76bf7fa5..e77f3992e 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -469,6 +469,7 @@ class WasmBinaryWriter : public Visitor<WasmBinaryWriter, void> { if (func->type.isNull()) { func->type = ensureFunctionType(getSig(func.get()), wasm)->name; } + // TODO: depending on upstream flux https://github.com/WebAssembly/spec/pull/301 might want this: assert(!func->type.isNull()); } } |