mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 15:37:52 +01:00
Remove obsolete hacks for SpiderMonkey
This commit is contained in:
parent
b3bef1570a
commit
93b32823f9
@ -292,9 +292,6 @@ public class TextModuleWriter extends ModuleWriter {
|
|||||||
*/
|
*/
|
||||||
@Nonnull
|
@Nonnull
|
||||||
private String normalizeName( String name ) {
|
private String normalizeName( String name ) {
|
||||||
if( spiderMonkey ) {
|
|
||||||
name = name.replace( '/', '.' ).replace( '<', '_' ).replace( '>', '_' ); // TODO HACK for https://bugzilla.mozilla.org/show_bug.cgi?id=1511485
|
|
||||||
}
|
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -701,9 +698,6 @@ public class TextModuleWriter extends ModuleWriter {
|
|||||||
callIndirect = true;
|
callIndirect = true;
|
||||||
|
|
||||||
newline( methodOutput );
|
newline( methodOutput );
|
||||||
if(spiderMonkey)
|
|
||||||
methodOutput.append( "call_indirect $t" ).append( getFunction( name ).typeId ); // https://bugzilla.mozilla.org/show_bug.cgi?id=1556779
|
|
||||||
else
|
|
||||||
methodOutput.append( "call_indirect (type $t" ).append( getFunction( name ).typeId ).append( ") ;; " ).append( name.signatureName );
|
methodOutput.append( "call_indirect (type $t" ).append( getFunction( name ).typeId ).append( ") ;; " ).append( name.signatureName );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user