[arm] Fix pushing of stale register in CallConstructStub.
authormstarzinger <mstarzinger@chromium.org>
Wed, 22 Jul 2015 08:49:34 +0000 (01:49 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Jul 2015 08:49:59 +0000 (08:49 +0000)
commit85d3b16386849be735dd5c189eeec9c9f70204ac
treee091bc7982eed496cf7da494ab252096d2a7462d
parente8752eb9cef68297ff34cf9d87d187d679677f62
[arm] Fix pushing of stale register in CallConstructStub.

This fixes a recent regression where the register usually holding the
original receiver was pushed onto the stack even when the stub was not
compiled for super calls (i.e. IsSuperConstructorCall). This led to
untagged values being present in the stack frame.

R=jacob.bramley@arm.com
BUG=chromium:512573
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#29785}
src/arm/code-stubs-arm.cc
src/arm64/code-stubs-arm64.cc