void JSPropertyNameAccumulatorAddName(JSPropertyNameAccumulatorRef array, JSStringRef propertyName) { PropertyNameArray* propertyNames = toJS(array); VM* vm = propertyNames->vm(); JSLockHolder locker(vm); propertyNames->add(propertyName->identifier(vm)); }
void JSPropertyNameAccumulatorAddName(JSPropertyNameAccumulatorRef array, JSStringRef propertyName) { PropertyNameArray* propertyNames = toJS(array); APIEntryShim entryShim(propertyNames->vm()); propertyNames->add(propertyName->identifier(propertyNames->vm())); }