mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-26 07:49:28 +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:
|
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;
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user