Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 4c29e34d40510f54765641c02abdca3425bb41d0..ec50f5bdfd2733c3ab9b8d96159c15c2e37e4865 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -5793,9 +5793,7 @@ class HStoreGlobalCell V8_FINAL : public HUnaryOperation { |
Handle<PropertyCell>, PropertyDetails); |
Unique<PropertyCell> cell() const { return cell_; } |
- bool RequiresHoleCheck() { |
- return !details_.IsDontDelete() || details_.IsReadOnly(); |
- } |
+ bool RequiresHoleCheck() { return details_.IsConfigurable(); } |
Toon Verwaest
2014/08/21 08:53:23
I removed IsReadOnly because we don't use the hole
|
bool NeedsWriteBarrier() { |
return StoringValueNeedsWriteBarrier(value()); |
} |