Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 8a0414aeb938992793a5138d69a70de534d3c186..ee64f8ee030f4605d431240c0e992f0731cb4724 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -855,10 +855,12 @@ void LChunkBuilder::VisitInstruction(HInstruction* current) { |
if (current->OperandCount() == 0) { |
instr = DefineAsRegister(new(zone()) LDummy()); |
} else { |
+ ASSERT(!current->OperandAt(0)->IsControlInstruction()); |
instr = DefineAsRegister(new(zone()) |
LDummyUse(UseAny(current->OperandAt(0)))); |
} |
for (int i = 1; i < current->OperandCount(); ++i) { |
+ if (current->OperandAt(i)->IsControlInstruction()) continue; |
LInstruction* dummy = |
new(zone()) LDummyUse(UseAny(current->OperandAt(i))); |
dummy->set_hydrogen_value(current); |