Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Issue 2080173002: [debug] always add debug slot for statements. (Closed)

Created:
4 years, 6 months ago by Yang
Modified:
4 years, 6 months ago
Reviewers:
jgruber
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[debug] always add debug slot for statements. Previously we would elide debug slots if the statement position it belongs to has just already been written. The motivation is that since we should only break once per statement, we can elide debug slots that has the same statement position as the previous debug slot. This is an unnecessary optimization, since the debugger has yet another check against breaking twice at the same statement at runtime, in Debug::Break. This optimization can also be wrong, if there is control flow involved, for example if we can jump to the elided debug slot without executing the previous debug slot. CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel R=jgruber@chromium.org Committed: https://crrev.com/9611a4d24b19a79a78094dbb7e9373b58a71eda4 Cr-Commit-Position: refs/heads/master@{#37107}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -26 lines) Patch
M src/assembler.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/assembler.cc View 5 chunks +5 lines, -12 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 3 chunks +10 lines, -11 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Yang
4 years, 6 months ago (2016-06-20 08:47:23 UTC) #1
jgruber
lgtm
4 years, 6 months ago (2016-06-20 12:02:02 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2080173002/1
4 years, 6 months ago (2016-06-20 12:54:03 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-20 14:14:36 UTC) #5
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 14:15:23 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/9611a4d24b19a79a78094dbb7e9373b58a71eda4
Cr-Commit-Position: refs/heads/master@{#37107}

Powered by Google App Engine
This is Rietveld 408576698