protected void peepholeBeforeRegisterAllocation(Instruction first) { Instruction inst = first; while (inst != null) { Instruction next = inst.getNext(); int opcode = inst.getOpcode(); // Recognize patterns, if any, here. inst = next; } }