mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 10:44:47 +01:00
fix wrong debug information
This commit is contained in:
parent
bc6e959c1b
commit
a57d3020f9
@ -193,6 +193,7 @@ public class ModuleGenerator {
|
||||
FunctionName next;
|
||||
NEXT:
|
||||
while( (next = functions.nextScannLater()) != null ) {
|
||||
className = next.className;
|
||||
if( next instanceof SyntheticFunctionName ) {
|
||||
JWebAssembly.LOGGER.fine( '\t' + next.methodName + next.signature );
|
||||
SyntheticFunctionName synth = (SyntheticFunctionName)next;
|
||||
@ -209,6 +210,8 @@ public class ModuleGenerator {
|
||||
MethodInfo method = null;
|
||||
ClassFile classFile = classFileLoader.get( next.className );
|
||||
if( classFile != null ) {
|
||||
sourceFile = classFile.getSourceFile();
|
||||
className = classFile.getThisClass().getName();
|
||||
method = classFile.getMethod( next.methodName, next.signature );
|
||||
}
|
||||
if( method == null ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user