mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 18:44:47 +01:00
If there a replacement method then use it also on scanning in prepare phase.
This commit is contained in:
parent
275db31ab3
commit
91ccf92796
@ -166,7 +166,7 @@ public class ModuleGenerator {
|
||||
FunctionName name = new FunctionName( method );
|
||||
if( functions.needToScan( name ) ) {
|
||||
writeMethodSignature( name, method.isStatic(), null );
|
||||
scanMethod( createInstructions( method ) );
|
||||
scanMethod( createInstructions( functions.replace( name, method ) ) );
|
||||
functions.markAsScanned( name );
|
||||
}
|
||||
} catch (IOException ioex){
|
||||
|
Loading…
x
Reference in New Issue
Block a user