mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
Add package path to Java source files
This commit is contained in:
parent
cba37f1cef
commit
76435a76b9
@ -400,7 +400,10 @@ public class BinaryModuleWriter extends ModuleWriter implements InstructionOpcod
|
||||
@Override
|
||||
protected void writeMethodStart( FunctionName name, String sourceFile ) throws IOException {
|
||||
function = getFunction( name );
|
||||
this.javaSourceFile = sourceFile;
|
||||
if( createSourceMap ) {
|
||||
int idx = name.className.lastIndexOf( '/' );
|
||||
this.javaSourceFile = name.className.substring( 0, idx + 1 ) + sourceFile;
|
||||
}
|
||||
functionType = new FunctionTypeEntry();
|
||||
codeStream.reset();
|
||||
locals.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user