Revert of Debugger: use a Map to cache mirrors. (patchset #1 id:1 of https://coderevi...
authoryangguo <yangguo@chromium.org>
Thu, 13 Aug 2015 12:09:30 +0000 (05:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 13 Aug 2015 12:09:42 +0000 (12:09 +0000)
commit1f2c5052ce859d20ea75af1da270e18d6ecacc39
treeb77ec8b42a31788a8eab87e9c64b0142fb5a6498
parent40c11d060c13885263338645990c22aab23f197d
Revert of Debugger: use a Map to cache mirrors. (patchset #1 id:1 of https://codereview.chromium.org/1287243002/ )

Reason for revert:
Several nosnap and custom snapshot failures.

Original issue's description:
> Debugger: use a Map to cache mirrors.
>
> This makes mirror cache lookup O(1) instead of O(n).
> The downside is that the lookup via handle is O(n). This
> is fine because handles are only used in the JSON api,
> which is not used by Chrome and on death row.
>
> Committed: https://crrev.com/890b1dfca84d9dfecdcfc56517ef541076c6eb1d
> Cr-Commit-Position: refs/heads/master@{#30150}

TBR=bmeurer@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Commit-Position: refs/heads/master@{#30153}
src/bootstrapper.cc
src/debug/mirrors.js