Version 3.13.1
Performance and stability improvements on all platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@12323 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/factory.cc b/src/factory.cc
index a4a2be2..913b756 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -115,8 +115,7 @@
Handle<DescriptorArray> Factory::NewDescriptorArray(int number_of_descriptors) {
ASSERT(0 <= number_of_descriptors);
CALL_HEAP_FUNCTION(isolate(),
- DescriptorArray::Allocate(number_of_descriptors,
- DescriptorArray::MAY_BE_SHARED),
+ DescriptorArray::Allocate(number_of_descriptors),
DescriptorArray);
}
@@ -497,7 +496,7 @@
Handle<Map> Factory::CopyMap(Handle<Map> src) {
- CALL_HEAP_FUNCTION(isolate(), src->Copy(DescriptorArray::MAY_BE_SHARED), Map);
+ CALL_HEAP_FUNCTION(isolate(), src->Copy(), Map);
}