Use immediate add when possible in space allocator
authordanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 12 Oct 2012 14:06:03 +0000 (14:06 +0000)
committerdanno@chromium.org <danno@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 12 Oct 2012 14:06:03 +0000 (14:06 +0000)
commitbf83c5fe32782a99d251001ee3743c8cfb7a3671
tree59ce1e823ecae0dbfcf6fb03e583888d7b385aa5
parentc969afe13721881101780191f46f0d670aa73989
Use immediate add when possible in space allocator

Save one instruction in allocating new space by using an immediate add if
possible to calculate the new top of heap.

BUG=

Review URL: https://chromiumcodereview.appspot.com/11091068
Patch from Anthony Berent <aberent@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12718 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/macro-assembler-arm.cc