| Index: src/ic/x87/handler-compiler-x87.cc
|
| diff --git a/src/ic/x87/handler-compiler-x87.cc b/src/ic/x87/handler-compiler-x87.cc
|
| index c5f2d9f1f57b37743c8fd23c3250356e97178d4f..46e6ab108deec4473f435e92e33ab1db50f6c822 100644
|
| --- a/src/ic/x87/handler-compiler-x87.cc
|
| +++ b/src/ic/x87/handler-compiler-x87.cc
|
| @@ -236,7 +236,8 @@ void PropertyHandlerCompiler::GenerateApiAccessorCall(
|
| 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);
|
|
|