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