Index: src/hydrogen-instructions.cc |
=================================================================== |
--- src/hydrogen-instructions.cc (revision 7085) |
+++ src/hydrogen-instructions.cc (working copy) |
@@ -414,8 +414,7 @@ |
void HValue::RegisterUse(int index, HValue* new_value) { |
HValue* old_value = OperandAt(index); |
if (old_value == new_value) return; |
- if (old_value != NULL) { |
- ASSERT(old_value->uses_.Contains(this)); |
+ if (old_value != NULL && old_value->uses_.Contains(this)) { |
old_value->uses_.RemoveElement(this); |
} |
if (new_value != NULL) { |