Use a temporary hack for SpiderMonkey WasmTextToBinary

This commit is contained in:
Volker Berlin 2019-04-22 16:21:02 +02:00
parent b7323776d1
commit 3af321a076
2 changed files with 1 additions and 7 deletions

View File

@ -443,7 +443,7 @@ public class TextModuleWriter extends ModuleWriter {
case IF: case IF:
name = "if"; name = "if";
if( data != ValueType.empty ) { if( data != ValueType.empty ) {
name += " (result " + data + ")"; name += spiderMonkey ? " " + data : " (result " + data + ")"; // TODO HACK for https://bugzilla.mozilla.org/show_bug.cgi?id=1545755
} }
insetAfter++; insetAfter++;
break; break;

View File

@ -60,12 +60,6 @@ public class ControlFlowOperators extends AbstractBaseTest {
return list; return list;
} }
@Test
public void test() {
assumeFalse( getScriptEngine() == ScriptEngine.SpiderMonkeyWat ); // https://bugzilla.mozilla.org/show_bug.cgi?id=1545755
super.test();
}
static class TestClass { static class TestClass {
@Export @Export