diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala b/src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala index 03f08dbddd..56e05cdc04 100644 --- a/src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala +++ b/src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala @@ -94,7 +94,7 @@ trait BasicBlocks { /** Return an iterator over the instructions in this basic block. */ def iterator: Iterator[Instruction] = - if (closed) instrs.iterator else instructionList.reverse.iterator + if (closed) instrs.iterator else instructionList.reverseIterator /** return the underlying array of instructions */ def getArray: Array[Instruction] = { |