From b055995ff2cb99d10d5be3ffd9ed3757b499ede9 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 23 Dec 2015 15:55:31 -0800 Subject: handle indirect calls with no parent in asm2wasm #36 --- test/unit.asm.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/unit.asm.js') diff --git a/test/unit.asm.js b/test/unit.asm.js index 64583da24..a2235dd62 100644 --- a/test/unit.asm.js +++ b/test/unit.asm.js @@ -126,6 +126,9 @@ function () { if ((i >>> 0) < (j >>> 0)) i = i + 1 | 0; return i | 0; } + function cneg_nosemicolon() { + FUNCTION_TABLE_c[1 & 7](1) // no semicolon + } function z() { } -- cgit v1.2.3