Abstract out fetching of break_address in debug mode
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 6 Aug 2014 13:56:58 +0000 (13:56 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 6 Aug 2014 13:56:58 +0000 (13:56 +0000)
commit46bda3413042c7c5a9d0e758d3478dbd0b1d4450
tree14c9c54e0fdce8adaa40862a17fda2b4541d2ff3
parenta6ad240b915da178b362948f257ed716c4346000
Abstract out fetching of break_address in debug mode

If the platform has a variable length call sequence
more than simple offset math is required. This can
be true with out of line constant pools on PowerPC.

BUG=
R=yangguo@chromium.org

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

Patch from Andrew Low <andrew_low@ca.ibm.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22935 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
15 files changed:
src/arm/assembler-arm-inl.h
src/arm/assembler-arm.h
src/arm64/assembler-arm64-inl.h
src/arm64/assembler-arm64.h
src/debug.cc
src/ia32/assembler-ia32-inl.h
src/ia32/assembler-ia32.h
src/mips/assembler-mips-inl.h
src/mips/assembler-mips.h
src/mips64/assembler-mips64-inl.h
src/mips64/assembler-mips64.h
src/x64/assembler-x64-inl.h
src/x64/assembler-x64.h
src/x87/assembler-x87-inl.h
src/x87/assembler-x87.h