Use ScopedVector instead of dynamically allocated array.
authorantonm@chromium.org <antonm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 30 Apr 2010 10:27:25 +0000 (10:27 +0000)
committerantonm@chromium.org <antonm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 30 Apr 2010 10:27:25 +0000 (10:27 +0000)
commit8e56358e1dab590ac16bc4c180c1bed410e24cd0
tree8857d19df1244be78f2caa8a3288cda2b7affd8e
parente7a3875bb4a7e5ab23fab46b31757cd47286ebfb
Use ScopedVector instead of dynamically allocated array.

This ensures that it'll be released on any control path leaving
the function thanks to desctuctor semantics.

BUG=42925

Review URL: http://codereview.chromium.org/1712025

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4554 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime.cc