Debugger: deduplicate shared function info when setting script break points.
authoryangguo <yangguo@chromium.org>
Wed, 25 Mar 2015 14:53:32 +0000 (07:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 25 Mar 2015 14:53:49 +0000 (14:53 +0000)
commit73b17a71a22564c0b66d9aa7c00948c748f5b290
tree111fbce4d3a4e31fded0eef47fbcc7aa83c19c27
parent03620298befb7083b80eeda7a8172ecc204fc758
Debugger: deduplicate shared function info when setting script break points.

Also fix Debug.showBreakPoints for multiple break points at the same location.

BUG=v8:3960
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#27444}
src/compiler.cc
src/debug.cc
src/liveedit.cc
src/runtime/runtime-debug.cc
src/runtime/runtime.h
test/mjsunit/debug-liveedit-2.js
test/mjsunit/debug-liveedit-4.js
test/mjsunit/regress/regress-3960.js [new file with mode: 0644]