[arm] Fix missing CheckBuffer for branches.
authorbmeurer <bmeurer@chromium.org>
Thu, 9 Jul 2015 09:33:17 +0000 (02:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Jul 2015 09:33:36 +0000 (09:33 +0000)
commitd05538827e32ebfed5297653266d65c11e438148
tree49662a704f9fb29788fcba7eac453ea3edb9d2cf
parentfde4173afdc24cd5e479c05f614aed1f9ede41e2
[arm] Fix missing CheckBuffer for branches.

The b, bl and blx methods that take labels basically ignore the constant
pool check and just block the constant pool for the next instruction.
This way a long enough sequence of those instructions will block can
potentially block the constant pool emission for too long.

BUG=v8:4292
LOG=y
R=yangguo@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#29550}
src/arm/assembler-arm.cc
src/arm/assembler-arm.h
test/cctest/test-assembler-arm.cc