Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index b321adec29915d2191caa77eb5ceac1fba37b598..7d530f48d48581e72332e7f7b6a54a44095fc135 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -965,6 +965,13 @@ Handle<WeakCell> Factory::NewWeakCell(Handle<HeapObject> value) { |
} |
+Handle<TransitionArray> Factory::NewTransitionArray(int capacity) { |
+ CALL_HEAP_FUNCTION(isolate(), |
+ isolate()->heap()->AllocateTransitionArray(capacity), |
+ TransitionArray); |
+} |
+ |
+ |
Handle<AllocationSite> Factory::NewAllocationSite() { |
Handle<Map> map = allocation_site_map(); |
Handle<AllocationSite> site = New<AllocationSite>(map, OLD_SPACE); |