Home
last modified time | relevance | path

Searched refs:fallthroughBlockIndex (Results 1 – 3 of 3) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/ir/code/
DSwitch.java20 private int fallthroughBlockIndex; field in Switch
26 int fallthroughBlockIndex) { in Switch() argument
30 this.fallthroughBlockIndex = fallthroughBlockIndex; in Switch()
40 assert targetBlockIndices[i] != fallthroughBlockIndex; in valid()
42 assert targetBlockIndices[keys.length - 1] != fallthroughBlockIndex; in valid()
130 return getBlock().getSuccessors().get(fallthroughBlockIndex);
134 return fallthroughBlockIndex;
138 fallthroughBlockIndex = i;
147 getBlock().getSuccessors().set(fallthroughBlockIndex, block);
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DCodeRewriter.java337 int fallthroughBlockIndex = theSwitch.getFallthroughBlockIndex(); in rewriteSwitch() local
339 if (fallthroughBlockIndex < caseBlockIndex) { in rewriteSwitch()
340 block.swapSuccessorsByIndex(fallthroughBlockIndex, caseBlockIndex); in rewriteSwitch()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DIRBuilder.java1279 int fallthroughBlockIndex = currentBlock.getSuccessors().size() - 1;
1280 offsetToBlockIndex.put(fallthroughOffset, fallthroughBlockIndex);
1300 return new Switch(value, keys, targetBlockIndices, fallthroughBlockIndex);