/** * Returns the value of the specified matched branch offset. */ protected int matchedBranchOffset(int offset, int branchOffset) { // Special case: is it a label? if (isLabel(branchOffset)) { // Then make sure we reference a unique label, because // there may be other matching sequences. return uniqueLabel(branchOffset); } // Otherwise, just return the matched branch offset. return instructionSequenceMatcher.matchedBranchOffset(offset, branchOffset); }
/** * Returns the value of the specified matched branch offset. */ protected int matchedBranchOffset(int offset, int branchOffset) { // Special case: is it a label? if (isLabel(branchOffset)) { // Then make sure we reference a unique label, because // there may be other matching sequences. return uniqueLabel(branchOffset); } // Otherwise, just return the matched branch offset. return instructionSequenceMatcher.matchedBranchOffset(offset, branchOffset); }
/** * Returns the value of the specified matched branch offset. */ protected int matchedBranchOffset(int offset, int branchOffset) { // Special case: is it a label? if (isLabel(branchOffset)) { // Then make sure we reference a unique label, because // there may be other matching sequences. return uniqueLabel(branchOffset); } // Otherwise, just return the matched branch offset. return instructionSequenceMatcher.matchedBranchOffset(offset, branchOffset); }
/** * Returns the values of the specified matched jump offsets. */ protected int[] matchedJumpOffsets(int offset, int[] jumpOffsets) { // Special cases: are there any labels? for (int index = 0; index < jumpOffsets.length; index++) { if (isLabel(jumpOffsets[index])) { // Then make sure we reference a unique label, because // there may be other matching sequences. jumpOffsets[index] = uniqueLabel(jumpOffsets[index]); } } // Match any other jump offsets. return instructionSequenceMatcher.matchedJumpOffsets(offset, jumpOffsets); }
/** * Returns the values of the specified matched jump offsets. */ protected int[] matchedJumpOffsets(int offset, int[] jumpOffsets) { // Special cases: are there any labels? for (int index = 0; index < jumpOffsets.length; index++) { if (isLabel(jumpOffsets[index])) { // Then make sure we reference a unique label, because // there may be other matching sequences. jumpOffsets[index] = uniqueLabel(jumpOffsets[index]); } } // Match any other jump offsets. return instructionSequenceMatcher.matchedJumpOffsets(offset, jumpOffsets); }
/** * Returns the values of the specified matched jump offsets. */ protected int[] matchedJumpOffsets(int offset, int[] jumpOffsets) { // Special cases: are there any labels? for (int index = 0; index < jumpOffsets.length; index++) { if (isLabel(jumpOffsets[index])) { // Then make sure we reference a unique label, because // there may be other matching sequences. jumpOffsets[index] = uniqueLabel(jumpOffsets[index]); } } // Match any other jump offsets. return instructionSequenceMatcher.matchedJumpOffsets(offset, jumpOffsets); }