Chromium Code Reviews| Index: src/factory.cc |
| diff --git a/src/factory.cc b/src/factory.cc |
| index 673bb23031733ad2c5acde104e94a256b5a9ea70..b693b911bdec86fd8397f93e1d1ceeeec964b3ed 100644 |
| --- a/src/factory.cc |
| +++ b/src/factory.cc |
| @@ -516,6 +516,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) { |