Index: src/hydrogen-instructions.cc |
=================================================================== |
--- src/hydrogen-instructions.cc (revision 7823) |
+++ src/hydrogen-instructions.cc (working copy) |
@@ -1263,6 +1263,15 @@ |
} |
+bool HLoadKeyedFastElement::check_hole_value() const { |
+ for (HUseIterator it(uses()); !it.Done(); it.Advance()) { |
+ HValue* use = it.value(); |
+ if (!use->IsChange()) return true; |
+ } |
+ return false; |
+} |
+ |
+ |
void HLoadKeyedGeneric::PrintDataTo(StringStream* stream) { |
object()->PrintNameTo(stream); |
stream->Add("["); |