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 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala b/src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala index bdcee1cba7..c09851fa86 100644 --- a/src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala +++ b/src/compiler/scala/tools/nsc/backend/icode/BasicBlocks.scala @@ -88,8 +88,6 @@ trait BasicBlocks { */ private var instructionList: List[Instruction] = Nil - private var _lastInstruction: Instruction = null - private var instrs: Array[Instruction] = _ override def toList: List[Instruction] = @@ -266,8 +264,7 @@ trait BasicBlocks { } else { instr.setPos(pos) - instructionList = instr :: instructionList - _lastInstruction = instr + instructionList ::= instr } } |