diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-12-03 14:49:55 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-12-07 16:50:05 -1000 |
commit | 9cd6b3ef888e992fd2e0d90106ebd6a3b1ae83ec (patch) | |
tree | 33305dca94fc2fc4d5282354ae085911b7f5d7df /src | |
parent | b0d3056aa9dfda88f86db9d580989372ab198f11 (diff) | |
download | binaryen-9cd6b3ef888e992fd2e0d90106ebd6a3b1ae83ec.tar.gz binaryen-9cd6b3ef888e992fd2e0d90106ebd6a3b1ae83ec.tar.bz2 binaryen-9cd6b3ef888e992fd2e0d90106ebd6a3b1ae83ec.zip |
comment
Diffstat (limited to 'src')
-rw-r--r-- | src/asm2wasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asm2wasm.h b/src/asm2wasm.h index 1df74456d..6ed13b79a 100644 --- a/src/asm2wasm.h +++ b/src/asm2wasm.h @@ -910,7 +910,7 @@ void Asm2WasmBuilder::processAsm(Ref ast) { } import->functionType = ensureFunctionType(getSig(importedFunctionTypes[name].get()), &wasm); } else if (import->module != ASM2WASM) { // special-case the special module - // never actually used + // never actually used, which means we don't know the function type since the usage tells us, so illegal for it to remain toErase.push_back(name); } } |