PropertyTable* PropertyTable::create(VM& vm, unsigned initialCapacity) { PropertyTable* table = new (NotNull, allocateCell<PropertyTable>(vm.heap)) PropertyTable(vm, initialCapacity); table->finishCreation(vm); return table; }
PropertyTable* PropertyTable::clone(VM& vm, JSCell* owner, unsigned initialCapacity, const PropertyTable& other) { PropertyTable* table = new (NotNull, allocateCell<PropertyTable>(vm.heap)) PropertyTable(vm, owner, initialCapacity, other); table->finishCreation(vm); return table; }
PropertyTable* PropertyTable::clone(VM& vm, const PropertyTable& other) { PropertyTable* table = new (NotNull, allocateCell<PropertyTable>(vm.heap)) PropertyTable(vm, other); table->finishCreation(vm); return table; }