Fix test for overflow in memory allocation Failure payload.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 25 Feb 2010 12:28:35 +0000 (12:28 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 25 Feb 2010 12:28:35 +0000 (12:28 +0000)
commit024faf11051117f0284b9b1a0d13ad367fc99392
tree04431b5f924628c584b8ad6c56c15951e5ff1c41
parent2c872c26fdaae8de7747ba27ee137eff80af5ba2
Fix test for overflow in memory allocation Failure payload.
It bailed out too early, and could give a DEBUG assertion failure due
to right shift being artihmetic. Changed values to unsigned to be safe.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3948 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/objects-inl.h