Class BranchManager.IfParsedBlock

java.lang.Object
de.inetsoftware.jwebassembly.module.BranchManager.ParsedBlock
de.inetsoftware.jwebassembly.module.BranchManager.IfParsedBlock
All Implemented Interfaces:
Comparable<BranchManager.ParsedBlock>
Enclosing class:
BranchManager

private static class BranchManager.IfParsedBlock extends BranchManager.ParsedBlock
Description of a parsed IF operation.
  • Field Details

  • Constructor Details

    • IfParsedBlock

      private IfParsedBlock(int startPosition, int offset, int lineNumber, WasmNumericInstruction instr, JumpInstruction jump)
      Create new instance
      Parameters:
      startPosition - the byte position of the start position
      offset - the relative jump position
      lineNumber - the Java line number for possible error messages
      instr - the compare instruction
  • Method Details

    • negateCompare

      private void negateCompare()
      Negate the compare operation.