Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index c47b57d017714df4afbaebf4ed84c2960d229476..38800e3b4a4d64757966ca77defac172075f0baf 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -492,6 +492,14 @@ Handle<JSGlobalPropertyCell> Factory::NewJSGlobalPropertyCell( |
} |
+Handle<AllocationSite> Factory::NewAllocationSite() { |
+ CALL_HEAP_FUNCTION( |
+ isolate(), |
+ isolate()->heap()->AllocateAllocationSite(), |
+ AllocationSite); |
+} |
+ |
+ |
Handle<Map> Factory::NewMap(InstanceType type, |
int instance_size, |
ElementsKind elements_kind) { |