Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 8be594365033670534ccbdb81947815dbfc521c2..b007ddcbea37f60122143f55a8d5d94a8fb4e8b8 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -2035,7 +2035,7 @@ void StoreGlobalStub::GenerateAssembly(CodeStubAssembler* assembler) const { |
Node* global = assembler->LoadObjectField(proxy_map, Map::kPrototypeOffset); |
Node* map_cell = assembler->HeapConstant(isolate()->factory()->NewWeakCell( |
StoreGlobalStub::global_map_placeholder(isolate()))); |
- Node* expected_map = assembler->LoadWeakCellValue(map_cell); |
+ Node* expected_map = assembler->LoadWeakCellValueUnchecked(map_cell); |
Node* map = assembler->LoadMap(global); |
assembler->GotoIf(assembler->WordNotEqual(expected_map, map), &miss); |
} |