remove alloca()
Merge pull request #1609 from WalterBright/refactor8

remove alloca()