Index: src/ic/ia32/handler-compiler-ia32.cc |
diff --git a/src/ic/ia32/handler-compiler-ia32.cc b/src/ic/ia32/handler-compiler-ia32.cc |
index 2a883c7c03b384870352c1e6532560d82f6a8869..793eeed8a78872a0317b94ab5800e149bf697104 100644 |
--- a/src/ic/ia32/handler-compiler-ia32.cc |
+++ b/src/ic/ia32/handler-compiler-ia32.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); |