Index: src/ic/s390/handler-compiler-s390.cc |
diff --git a/src/ic/s390/handler-compiler-s390.cc b/src/ic/s390/handler-compiler-s390.cc |
index b643a8492ab953c3b4e96b465409b46cccda5f8b..7f78b64703df86b28499226d147f9b3317ab13d8 100644 |
--- a/src/ic/s390/handler-compiler-s390.cc |
+++ b/src/ic/s390/handler-compiler-s390.cc |
@@ -187,7 +187,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); |