Delegate throwing in RegExpExecStub to CEntryStub.
authormstarzinger <mstarzinger@chromium.org>
Tue, 17 Mar 2015 15:49:24 +0000 (08:49 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 17 Mar 2015 15:49:40 +0000 (15:49 +0000)
commit86b391ecad592eeff68b13814241017811fdee2c
tree2df0f58e6aba88c204e56e3efd44a8e138bc284d
parent683f43d31b08d18d98b2e48c24fb878486cd533a
Delegate throwing in RegExpExecStub to CEntryStub.

This ensures that there is only one stub that deals with unwinding the
stack. Having more than one place containing that logic is brittle and
error prone, especially when it is a corner case only for RangeErrors.

R=titzer@chromium.org
TEST=mjsunit/regress/regress-crbug-467047
BUG=chromium:467047
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#27243}
src/arm/code-stubs-arm.cc
src/arm64/code-stubs-arm64.cc
src/ia32/code-stubs-ia32.cc
src/mips/code-stubs-mips.cc
src/mips64/code-stubs-mips64.cc
src/ppc/code-stubs-ppc.cc
src/runtime/runtime-regexp.cc
src/runtime/runtime.h
src/x64/code-stubs-x64.cc
src/x87/code-stubs-x87.cc
test/mjsunit/regress/regress-crbug-467047.js [new file with mode: 0644]