Index: src/ic/arm/handler-compiler-arm.cc |
diff --git a/src/ic/arm/handler-compiler-arm.cc b/src/ic/arm/handler-compiler-arm.cc |
index b98602bc579e6f5071c346a8edff4a5aa738fc56..734ab40a1b4882e01b1f062e663cd2364d082f8f 100644 |
--- a/src/ic/arm/handler-compiler-arm.cc |
+++ b/src/ic/arm/handler-compiler-arm.cc |
@@ -203,7 +203,8 @@ void NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype( |
void PropertyHandlerCompiler::GenerateCheckPropertyCell( |
MacroAssembler* masm, Handle<JSGlobalObject> global, Handle<Name> name, |
Register scratch, Label* miss) { |
- Handle<PropertyCell> cell = JSGlobalObject::EnsurePropertyCell(global, name); |
+ Handle<PropertyCell> cell = JSGlobalObject::EnsureEmptyPropertyCell( |
+ global, name, PropertyCellType::kInvalidated); |
Isolate* isolate = masm->isolate(); |
DCHECK(cell->value()->IsTheHole(isolate)); |
Handle<WeakCell> weak_cell = isolate->factory()->NewWeakCell(cell); |