Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 95fa2a2e15df55c97f6292022240b97b5c8ac6ef..e5b5f725ca4d42746730c1613b8e72a15584f6b4 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -1339,6 +1339,7 @@ HValue* CodeStubGraphBuilder<StoreGlobalStub>::BuildCodeInitializedStub() { |
StoreGlobalStub::property_cell_placeholder(isolate()))); |
HValue* cell = Add<HLoadNamedField>(weak_cell, nullptr, |
HObjectAccess::ForWeakCellValue()); |
+ Add<HCheckHeapObject>(cell); |
HObjectAccess access(HObjectAccess::ForCellPayload(isolate())); |
HValue* cell_contents = Add<HLoadNamedField>(cell, nullptr, access); |