mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
API doc
This commit is contained in:
parent
048cbefc84
commit
7a65565659
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2018 - 2021 Volker Berlin (i-net software)
|
Copyright 2018 - 2022 Volker Berlin (i-net software)
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
@ -34,7 +34,7 @@ class WasmLoadStoreInstruction extends WasmLocalInstruction {
|
|||||||
*
|
*
|
||||||
* @param op
|
* @param op
|
||||||
* the operation
|
* the operation
|
||||||
* @param idx
|
* @param slot
|
||||||
* the memory/slot idx of the variable
|
* the memory/slot idx of the variable
|
||||||
* @param localVariables
|
* @param localVariables
|
||||||
* the manager for local variables
|
* the manager for local variables
|
||||||
@ -43,22 +43,10 @@ class WasmLoadStoreInstruction extends WasmLocalInstruction {
|
|||||||
* @param lineNumber
|
* @param lineNumber
|
||||||
* the line number in the Java source code
|
* the line number in the Java source code
|
||||||
*/
|
*/
|
||||||
WasmLoadStoreInstruction( @Nonnull VariableOperator op, @Nonnegative int idx, LocaleVariableManager localVariables, int javaCodePos, int lineNumber ) {
|
WasmLoadStoreInstruction( @Nonnull VariableOperator op, @Nonnegative int slot, LocaleVariableManager localVariables, int javaCodePos, int lineNumber ) {
|
||||||
super( op, idx, localVariables, javaCodePos, lineNumber );
|
super( op, slot, localVariables, javaCodePos, lineNumber );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a derived instruction for the same slot
|
|
||||||
*
|
|
||||||
* @param op
|
|
||||||
* the operation
|
|
||||||
* @return the new instruction
|
|
||||||
*/
|
|
||||||
// @Nonnull
|
|
||||||
// WasmLoadStoreInstruction create( VariableOperator op ) {
|
|
||||||
// return new WasmLoadStoreInstruction( op, super.getIndex(), localVariables, getCodePosition(), getLineNumber() );
|
|
||||||
// }
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user