mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
add method getCodePosition()
This commit is contained in:
parent
82ad07dd9e
commit
949e3d2aa2
@ -49,4 +49,12 @@ abstract class WasmInstruction {
|
|||||||
* if any I/O error occur
|
* if any I/O error occur
|
||||||
*/
|
*/
|
||||||
abstract void writeTo( @Nonnull ModuleWriter writer ) throws IOException;
|
abstract void writeTo( @Nonnull ModuleWriter writer ) throws IOException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get current code position in Java method.
|
||||||
|
* @return the position
|
||||||
|
*/
|
||||||
|
int getCodePosition() {
|
||||||
|
return javaCodePos;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user