Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 85a2cc784a3465f9dc5db61b6aae911f56620aca..3885b6b6967526d111d3aa212b3bd3a4be8cfd60 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -847,10 +847,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); |