Refactor BreakLocationIterator.
authoryangguo <yangguo@chromium.org>
Wed, 4 Mar 2015 13:15:07 +0000 (05:15 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 4 Mar 2015 13:15:34 +0000 (13:15 +0000)
commit1a608493e55eacf5c7569e2b1213da42eb0e6207
tree6aeff5da5249e42677a1c61b48c7bf47291b05c5
parentefe828e6999fe84a14a8a4bd0c5ddc9bac9d4dc0
Refactor BreakLocationIterator.

We now have BreakLocation::Iterator to iterate via RelocIterator, and
create a BreakLocation when we are done iterating. The reloc info is
stored in BreakLocation in a GC-safe way and instantiated on demand.

R=ulan@chromium.org
BUG=v8:3924
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#26983}
34 files changed:
src/arm/assembler-arm.cc
src/arm/assembler-arm.h
src/arm/debug-arm.cc
src/arm64/assembler-arm64-inl.h
src/arm64/assembler-arm64.cc
src/arm64/assembler-arm64.h
src/arm64/debug-arm64.cc
src/arm64/full-codegen-arm64.cc
src/assembler.h
src/debug.cc
src/debug.h
src/ia32/assembler-ia32.cc
src/ia32/debug-ia32.cc
src/mips/assembler-mips-inl.h
src/mips/assembler-mips.cc
src/mips/assembler-mips.h
src/mips/debug-mips.cc
src/mips64/assembler-mips64-inl.h
src/mips64/assembler-mips64.cc
src/mips64/assembler-mips64.h
src/mips64/debug-mips64.cc
src/objects.cc
src/objects.h
src/ppc/assembler-ppc-inl.h
src/ppc/assembler-ppc.cc
src/ppc/assembler-ppc.h
src/ppc/debug-ppc.cc
src/runtime/runtime-debug.cc
src/x64/assembler-x64.cc
src/x64/debug-x64.cc
src/x87/assembler-x87.cc
src/x87/debug-x87.cc
test/cctest/test-debug.cc
test/cctest/test-func-name-inference.cc