Version 1.2.12.
Added stack traces collection to Error objects accessible through the e.stack property.
Changed RegExp parser to use a recursive data structure instead of stack-based recursion.
Optimized Date object construction and string concatenation.
Improved performance of div, mod, and mul on ARM platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@2361 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/heap.cc b/src/heap.cc
index 4a317e3..749013a 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -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;
}