mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +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 );
|
FunctionName name = new FunctionName( method );
|
||||||
if( functions.needToScan( name ) ) {
|
if( functions.needToScan( name ) ) {
|
||||||
writeMethodSignature( name, method.isStatic(), null );
|
writeMethodSignature( name, method.isStatic(), null );
|
||||||
scanMethod( createInstructions( method ) );
|
scanMethod( createInstructions( functions.replace( name, method ) ) );
|
||||||
functions.markAsScanned( name );
|
functions.markAsScanned( name );
|
||||||
}
|
}
|
||||||
} catch (IOException ioex){
|
} catch (IOException ioex){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user