Polymorphic and unlimited polymorphic entities should be handled by runtime. This patch
update the condition in genDeallocate to force polymorphic and unlimited polymorphic entities
to be deallocated through a runtime call and not inlined.
Depends on D135143
It looks like you misspelled isPolymorphic.