Index: src/heap.cc |
=================================================================== |
--- src/heap.cc (revision 9957) |
+++ src/heap.cc (working copy) |
@@ -2368,6 +2368,14 @@ |
} |
set_code_stubs(NumberDictionary::cast(obj)); |
+ |
+ // Allocate the known objects compare stub dictionary. |
+ { MaybeObject* maybe_obj = NumberDictionary::Allocate(4); |
+ if (!maybe_obj->ToObject(&obj)) return false; |
+ } |
+ set_compare_stubs_known_objects(NumberDictionary::cast(obj)); |
+ |
+ |
// Allocate the non_monomorphic_cache used in stub-cache.cc. The initial size |
// is set to avoid expanding the dictionary during bootstrapping. |
{ MaybeObject* maybe_obj = NumberDictionary::Allocate(64); |