mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 10:44:47 +01:00
C&P error
This commit is contained in:
parent
9286113b0c
commit
835cf45f61
@ -1358,7 +1358,7 @@ public class BinaryModuleWriter extends ModuleWriter implements InstructionOpcod
|
||||
if( op == 0 ) {
|
||||
throw new Error( valueType + "." + memOp );
|
||||
}
|
||||
codeStream.writeOpCode( I32_LOAD );
|
||||
codeStream.writeOpCode( op );
|
||||
codeStream.write( alignment ); // 0: 8 Bit; 1: 16 Bit; 2: 32 Bit of the resulting offset
|
||||
codeStream.writeVaruint32( offset );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user