Index: src/ic/arm64/handler-compiler-arm64.cc |
diff --git a/src/ic/arm64/handler-compiler-arm64.cc b/src/ic/arm64/handler-compiler-arm64.cc |
index 1126beb265d432bede438333f568b1ccae5d4362..307ea899da804aa9877c6745d67ff0b4d3e6bbe6 100644 |
--- a/src/ic/arm64/handler-compiler-arm64.cc |
+++ b/src/ic/arm64/handler-compiler-arm64.cc |
@@ -109,7 +109,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); |