Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index fbca58f0c6444161ca524c891ce0693eca1e236c..f9d8252718cc2fee9dd276aead52d36a991ab461 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5785,13 +5785,14 @@ HValue* HOptimizedGraphBuilder::HandleKeyedElementAccess( |
expr->GetStoreMode(), has_side_effects); |
} else { |
if (is_store) { |
- if (expr->IsAssignment() && expr->AsAssignment()->IsUninitialized()) { |
+ if (expr->IsAssignment() && |
+ expr->AsAssignment()->HasNoTypeInformation()) { |
Add<HDeoptimize>("Insufficient type feedback for keyed store", |
Deoptimizer::SOFT); |
} |
instr = BuildStoreKeyedGeneric(obj, key, val); |
} else { |
- if (expr->AsProperty()->IsUninitialized()) { |
+ if (expr->AsProperty()->HasNoTypeInformation()) { |
Add<HDeoptimize>("Insufficient type feedback for keyed load", |
Deoptimizer::SOFT); |
} |