If there a replacement method then use it also on scanning in prepare phase.

This commit is contained in:
Volker Berlin 2019-06-22 11:11:14 +02:00
parent 275db31ab3
commit 91ccf92796

View File

@ -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){