| Index: src/ic/x64/handler-compiler-x64.cc
|
| diff --git a/src/ic/x64/handler-compiler-x64.cc b/src/ic/x64/handler-compiler-x64.cc
|
| index 5c64288362bc24358c067305ae6e61b21dbb2ba8..403d1e8425582e2e713c960e8946d7949bd951b8 100644
|
| --- a/src/ic/x64/handler-compiler-x64.cc
|
| +++ b/src/ic/x64/handler-compiler-x64.cc
|
| @@ -219,7 +219,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);
|
|
|