Class BranchManager.IfParsedBlock
- java.lang.Object
-
- de.inetsoftware.jwebassembly.module.BranchManager.ParsedBlock
-
- de.inetsoftware.jwebassembly.module.BranchManager.IfParsedBlock
-
- All Implemented Interfaces:
java.lang.Comparable<BranchManager.ParsedBlock>
- Enclosing class:
- BranchManager
private static class BranchManager.IfParsedBlock extends BranchManager.ParsedBlock
Description of a parsed IF operation.
-
-
Field Summary
Fields Modifier and Type Field Description private WasmNumericInstruction
instr
private JumpInstruction
jump
-
Fields inherited from class de.inetsoftware.jwebassembly.module.BranchManager.ParsedBlock
endPosition, lineNumber, nextPosition, startPosition
-
-
Constructor Summary
Constructors Modifier Constructor Description private
IfParsedBlock(int startPosition, int offset, int lineNumber, WasmNumericInstruction instr, JumpInstruction jump)
Create new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
negateCompare()
Negate the compare operation.-
Methods inherited from class de.inetsoftware.jwebassembly.module.BranchManager.ParsedBlock
compareTo
-
-
-
-
Field Detail
-
instr
private WasmNumericInstruction instr
-
jump
private JumpInstruction jump
-
-
Constructor Detail
-
IfParsedBlock
private IfParsedBlock(int startPosition, int offset, int lineNumber, WasmNumericInstruction instr, JumpInstruction jump)
Create new instance- Parameters:
startPosition
- the byte position of the start positionoffset
- the relative jump positionlineNumber
- the Java line number for possible error messagesinstr
- the compare instruction
-
-