Use a label-branch in CheckConstPool.
authorjacob.bramley <jacob.bramley@arm.com>
Mon, 20 Jul 2015 09:03:12 +0000 (02:03 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 20 Jul 2015 09:03:21 +0000 (09:03 +0000)
commitbfe700b8edfe68e8c5f05d408f71168096bc2e1a
tree4a2b79c08dc326d97ec8c50992185ad3b1ef0100
parente6cb6bb6b781aaa6a4025d5991ff40ab2154564c
Use a label-branch in CheckConstPool.

This removes a dependency on the size of the pool. Whilst the size is
checked in debug mode, it is still more robust to use a label.

This should also be cherry-picked to fix 4.4.63.20. (At that time, the
size of the pool was _not_ checked, and was sometimes wrong.)

This partially reverts 879550c, "[arm] Don't call branch_offset within
CheckConstPool." However, branch_offset now only blocks the constant
pool if it is not already blocked.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#29746}
src/arm/assembler-arm.cc