ARM: make predictable code size scope more precise in DoDeferredInstanceOfKnownGlobal.
authorulan <ulan@chromium.org>
Fri, 19 Jun 2015 04:54:43 +0000 (21:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 19 Jun 2015 04:54:51 +0000 (04:54 +0000)
commitfda60dc2148093909323d85b7be0fa8a05c1ec39
tree9e459fdcedf2e3f655575857a2b1f4ea5c781c79
parent5f2abce4f6fd701b8ac3c06b7a6ae3d8def1ff38
ARM: make predictable code size scope more precise in DoDeferredInstanceOfKnownGlobal.

We block constant pool up to the call stub instruction, but the check for code size
includes the next instruction after the call instruction. That instruction can
emit constant pool.

BUG=chromium:500831
LOG=NO
TEST=mjsunit/regress/regress-500831

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

Cr-Commit-Position: refs/heads/master@{#29132}
src/arm/lithium-codegen-arm.cc
test/mjsunit/regress/regress-500831.js [new file with mode: 0644]