Index: src/heap.cc |
=================================================================== |
--- src/heap.cc (revision 2321) |
+++ src/heap.cc (working copy) |
@@ -1392,14 +1392,14 @@ |
prototype_accessors_ = Proxy::cast(obj); |
// Allocate the code_stubs dictionary. |
- obj = Dictionary::Allocate(4); |
+ obj = NumberDictionary::Allocate(4); |
if (obj->IsFailure()) return false; |
- code_stubs_ = Dictionary::cast(obj); |
+ code_stubs_ = NumberDictionary::cast(obj); |
// Allocate the non_monomorphic_cache used in stub-cache.cc |
- obj = Dictionary::Allocate(4); |
+ obj = NumberDictionary::Allocate(4); |
if (obj->IsFailure()) return false; |
- non_monomorphic_cache_ = Dictionary::cast(obj); |
+ non_monomorphic_cache_ = NumberDictionary::cast(obj); |
CreateFixedStubs(); |
@@ -2563,7 +2563,7 @@ |
Object* result = Heap::AllocateFixedArray(length); |
if (result->IsFailure()) return result; |
reinterpret_cast<Array*>(result)->set_map(hash_table_map()); |
- ASSERT(result->IsDictionary()); |
+ ASSERT(result->IsHashTable()); |
return result; |
} |