mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
Use a temporary hack for SpiderMonkey WasmTextToBinary
This commit is contained in:
parent
b7323776d1
commit
3af321a076
@ -443,7 +443,7 @@ public class TextModuleWriter extends ModuleWriter {
|
||||
case IF:
|
||||
name = "if";
|
||||
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++;
|
||||
break;
|
||||
|
@ -60,12 +60,6 @@ public class ControlFlowOperators extends AbstractBaseTest {
|
||||
return list;
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
assumeFalse( getScriptEngine() == ScriptEngine.SpiderMonkeyWat ); // https://bugzilla.mozilla.org/show_bug.cgi?id=1545755
|
||||
super.test();
|
||||
}
|
||||
|
||||
static class TestClass {
|
||||
|
||||
@Export
|
||||
|
Loading…
x
Reference in New Issue
Block a user