From fa050b2f9c1e4b68c5067487515d1f67ae9bf9cf Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 24 Jun 2016 09:42:52 -0700 Subject: update spec tests, and handle some flux in call_indirect in upstream --- src/wasm-binary.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wasm-binary.h') 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 { 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()); } } -- cgit v1.2.3