CompleteParserRecorder: Don't do zero-sized allocations.
authormarja <marja@chromium.org>
Mon, 12 Jan 2015 17:31:47 +0000 (09:31 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 12 Jan 2015 17:32:00 +0000 (17:32 +0000)
commit665c6faad21edc4280678d99db6619f057753498
tree409bd2be2f4f41944937368d77fb8a2e359546ea
parent39cd762c6c1675304dc9a3ba9637ac405a6eb211
CompleteParserRecorder: Don't do zero-sized allocations.

Instead, we should use Collector::kMinCapacity.

R=jochen@chromium.org
BUG=v8:3727
LOG=N

Review URL: https://codereview.chromium.org/847823002

Cr-Commit-Position: refs/heads/master@{#26030}
src/preparse-data.cc