Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 2c7fc58a1a5d3d03d35f8aa0c8131c28bf888684..bfcec3efa29cdfe2c951111f7a2f29ca1377b370 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2905,7 +2905,7 @@ void Heap::CreateInitialObjects() { |
set_undefined_cell(*factory->NewCell(factory->undefined_value())); |
// The symbol registry is initialized lazily. |
- set_symbol_registry(undefined_value()); |
+ set_symbol_registry(Smi::FromInt(0)); |
// Allocate object to hold object observation state. |
set_observation_state(*factory->NewJSObjectFromMap( |