PPC: Make Simulator respect C stack limits as well.
authormbrandy <mbrandy@us.ibm.com>
Thu, 27 Aug 2015 14:01:50 +0000 (07:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 27 Aug 2015 14:01:59 +0000 (14:01 +0000)
commitbcc9df92734786e2c3dc51eca7ee684cf8e930cd
treed16f985075ac58dbe2de5ce7ff4874dd11b2caa8
parente276f5d89e2460dee1d5d925635622fbdb8580c2
PPC: Make Simulator respect C stack limits as well.

Port 7fb31bdba4f2a0320507956a085f083d76bce48c

Original commit message:
    The simulator uses a separate JS stack, exhaustion of the C stack
    however is not caught by JS limit checks. This change now lowers the
    limit of the JS stack accordingly on function calls.

R=mstarzinger@chromium.org, jyan@ca.ibm.com, dstence@us.ibm.com, joransiu@ca.ibm.com
BUG=chromium:522380
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#30413}
src/ppc/simulator-ppc.cc
src/ppc/simulator-ppc.h