Debugger: make debug code on-stack replacement more robust.
authoryangguo <yangguo@chromium.org>
Tue, 14 Jul 2015 06:38:42 +0000 (23:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 14 Jul 2015 06:38:53 +0000 (06:38 +0000)
commitdec11f5ee00a3ef1af8984d316aa98b3dee3a348
tree4f5890fe3006acdd4635a89446d814a04eff5b41
parent86006492a7b982d4dcb77cd822d4e1f6a35ae8f7
Debugger: make debug code on-stack replacement more robust.

The new implemtation counts the number of calls (or continuations)
before the PC to find the corresponding PC in the new code.

R=mstarzinger@chromium.org
BUG=chromium:507070
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#29636}
21 files changed:
src/arm/assembler-arm.h
src/arm/full-codegen-arm.cc
src/arm64/assembler-arm64.cc
src/arm64/assembler-arm64.h
src/arm64/full-codegen-arm64.cc
src/assembler.cc
src/assembler.h
src/debug.cc
src/ia32/assembler-ia32.h
src/ia32/full-codegen-ia32.cc
src/mips/assembler-mips.h
src/mips/full-codegen-mips.cc
src/mips64/assembler-mips64.h
src/mips64/full-codegen-mips64.cc
src/ppc/assembler-ppc.h
src/ppc/full-codegen-ppc.cc
src/x64/assembler-x64.h
src/x64/full-codegen-x64.cc
src/x87/assembler-x87.h
src/x87/full-codegen-x87.cc
test/mjsunit/regress/regress-crbug-507070.js [new file with mode: 0644]