Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 6efc2c2ae20db3750670f45cbc864f98fb906280..dc07768b6ad78470e8254ef9f90e0485b0241903 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -519,6 +519,14 @@ Handle<PropertyCell> Factory::NewPropertyCell(Handle<Object> value) { |
} |
+Handle<AllocationSite> Factory::NewAllocationSite() { |
+ CALL_HEAP_FUNCTION( |
+ isolate(), |
+ isolate()->heap()->AllocateAllocationSite(), |
+ AllocationSite); |
+} |
+ |
+ |
Handle<Map> Factory::NewMap(InstanceType type, |
int instance_size, |
ElementsKind elements_kind) { |