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

Issue 1521953003: [debugger] correctly find source position of implicit return statement. (Closed)

Created:
5 years ago by Yang
Modified:
5 years ago
Reviewers:
Jakob Kummerow
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

[debugger] correctly find source position of implicit return statement. The parser reads one character beyond EOF to have an additional source position that the rewriter can use to insert the implicit return statement at the end of a script. If we break at that return statement, we need to be able to translate the source position to line and column number. R=jkummerow@chromium.org BUG=chromium:569514 LOG=N Committed: https://crrev.com/0b1076a68e1eadba260cec8afc5acec618561c28 Cr-Commit-Position: refs/heads/master@{#32825} Committed: https://crrev.com/fd781bcc84c2a37b8bc54368b160cca0c74a47bd Cr-Commit-Position: refs/heads/master@{#32835}

Patch Set 1 #

Patch Set 2 : reland #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -25 lines) Patch
M src/objects.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M test/mjsunit/debug-sourceinfo.js View 1 2 chunks +8 lines, -4 lines 0 comments Download
A + test/mjsunit/debug-step-end-of-script.js View 1 1 chunk +5 lines, -18 lines 0 comments Download
M test/mjsunit/mirror-script.js View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 30 (15 generated)
Yang
5 years ago (2015-12-14 08:54:04 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1521953003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1521953003/1
5 years ago (2015-12-14 08:55:48 UTC) #3
Jakob Kummerow
lgtm
5 years ago (2015-12-14 08:56:20 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-14 09:33:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1521953003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1521953003/1
5 years ago (2015-12-14 09:34:00 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-14 09:35:26 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/0b1076a68e1eadba260cec8afc5acec618561c28 Cr-Commit-Position: refs/heads/master@{#32825}
5 years ago (2015-12-14 09:36:17 UTC) #11
Yang
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1526583002/ by yangguo@chromium.org. ...
5 years ago (2015-12-14 10:25:17 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1521953003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1521953003/20001
5 years ago (2015-12-14 12:23:26 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/8912)
5 years ago (2015-12-14 12:38:30 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1521953003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1521953003/20001
5 years ago (2015-12-14 12:41:11 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/8917)
5 years ago (2015-12-14 12:43:24 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1521953003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1521953003/20001
5 years ago (2015-12-14 13:21:08 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-14 13:25:04 UTC) #28
commit-bot: I haz the power
5 years ago (2015-12-14 13:25:14 UTC) #30
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fd781bcc84c2a37b8bc54368b160cca0c74a47bd
Cr-Commit-Position: refs/heads/master@{#32835}

Powered by Google App Engine
This is Rietveld 408576698