Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 8f3b04acfb028534b449de14d79a843e4afe3b93..87260e9e27815a5ef39062e8536296ca4d92a55c 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -5416,7 +5416,8 @@ class HLoadGlobalCell FINAL : public HTemplateInstruction<0> { |
PropertyDetails); |
Unique<Cell> cell() const { return cell_; } |
- bool RequiresHoleCheck() const; |
+ // TODO(dcarney): remove this. |
+ bool RequiresHoleCheck() const { return false; } |
std::ostream& PrintDataTo(std::ostream& os) const OVERRIDE; // NOLINT |
@@ -5443,7 +5444,7 @@ class HLoadGlobalCell FINAL : public HTemplateInstruction<0> { |
SetDependsOnFlag(kGlobalVars); |
} |
- bool IsDeletable() const OVERRIDE { return !RequiresHoleCheck(); } |
+ bool IsDeletable() const OVERRIDE { return true; } |
Unique<Cell> cell_; |
PropertyDetails details_; |
@@ -5807,7 +5808,8 @@ class HStoreGlobalCell FINAL : public HUnaryOperation { |
Handle<PropertyCell>, PropertyDetails); |
Unique<PropertyCell> cell() const { return cell_; } |
- bool RequiresHoleCheck() { return details_.IsConfigurable(); } |
+ // TODO(dcarney): remove |
+ bool RequiresHoleCheck() const { return false; } |
bool NeedsWriteBarrier() { |
return StoringValueNeedsWriteBarrier(value()); |
} |