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

Issue 1668863002: [interpreter] source positions should not be emitted for dead code. (Closed)

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

Description

[interpreter] source positions should not be emitted for dead code. R=mstarzinger@chromium.org Committed: https://crrev.com/85eff14c373e529d268945f9725af5b4350074e9 Cr-Commit-Position: refs/heads/master@{#33775}

Patch Set 1 #

Total comments: 5

Patch Set 2 : rebase #

Patch Set 3 : addressed comments #

Patch Set 4 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -19 lines) Patch
M src/interpreter/bytecode-array-builder.cc View 1 4 chunks +16 lines, -7 lines 0 comments Download
M src/interpreter/source-position-table.h View 1 chunk +3 lines, -2 lines 0 comments Download
M src/interpreter/source-position-table.cc View 1 2 3 1 chunk +18 lines, -6 lines 0 comments Download
A + test/mjsunit/ignition/dead-code-source-position.js View 1 2 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
Yang
4 years, 10 months ago (2016-02-04 12:31:42 UTC) #1
Michael Starzinger
+Ross
4 years, 10 months ago (2016-02-04 14:05:19 UTC) #3
rmcilroy
Hmm, this makes me wonder whether we should set the source position at the same ...
4 years, 10 months ago (2016-02-04 15:06:27 UTC) #4
rmcilroy
https://codereview.chromium.org/1668863002/diff/1/test/mjsunit/ignition/dead-code-source-position.js File test/mjsunit/ignition/dead-code-source-position.js (right): https://codereview.chromium.org/1668863002/diff/1/test/mjsunit/ignition/dead-code-source-position.js#newcode5 test/mjsunit/ignition/dead-code-source-position.js:5: // Flags: --ignition-filter=f nit - no need for --ignition-filter=f
4 years, 10 months ago (2016-02-04 15:06:40 UTC) #5
Yang
On 2016/02/04 15:06:27, rmcilroy wrote: > Hmm, this makes me wonder whether we should set ...
4 years, 10 months ago (2016-02-04 15:13:06 UTC) #6
Yang
On 2016/02/04 15:13:06, Yang wrote: > On 2016/02/04 15:06:27, rmcilroy wrote: > > Hmm, this ...
4 years, 10 months ago (2016-02-04 15:16:32 UTC) #7
rmcilroy
OK thanks for the explanation. I agree, this is less invasive than the alternatives. LGTM. ...
4 years, 10 months ago (2016-02-05 10:05:54 UTC) #8
Yang
https://codereview.chromium.org/1668863002/diff/1/src/interpreter/source-position-table.cc File src/interpreter/source-position-table.cc (right): https://codereview.chromium.org/1668863002/diff/1/src/interpreter/source-position-table.cc#newcode41 src/interpreter/source-position-table.cc:41: if (entries_.back().bytecode_offset == offset) entries_.pop_back(); On 2016/02/05 10:05:54, rmcilroy ...
4 years, 10 months ago (2016-02-05 12:21:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1668863002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1668863002/40001
4 years, 10 months ago (2016-02-05 12:22:08 UTC) #12
rmcilroy
https://codereview.chromium.org/1668863002/diff/1/src/interpreter/source-position-table.cc File src/interpreter/source-position-table.cc (right): https://codereview.chromium.org/1668863002/diff/1/src/interpreter/source-position-table.cc#newcode41 src/interpreter/source-position-table.cc:41: if (entries_.back().bytecode_offset == offset) entries_.pop_back(); On 2016/02/05 12:21:31, Yang ...
4 years, 10 months ago (2016-02-05 12:24:31 UTC) #13
Yang
On 2016/02/05 12:24:31, rmcilroy wrote: > https://codereview.chromium.org/1668863002/diff/1/src/interpreter/source-position-table.cc > File src/interpreter/source-position-table.cc (right): > > https://codereview.chromium.org/1668863002/diff/1/src/interpreter/source-position-table.cc#newcode41 > ...
4 years, 10 months ago (2016-02-05 12:27:15 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel/builds/13366) v8_win64_rel_ng on tryserver.v8 (JOB_FAILED, ...
4 years, 10 months ago (2016-02-05 12:37:42 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1668863002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1668863002/60001
4 years, 10 months ago (2016-02-05 12:52:08 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-05 13:29:06 UTC) #20
commit-bot: I haz the power
4 years, 10 months ago (2016-02-05 13:29:53 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/85eff14c373e529d268945f9725af5b4350074e9
Cr-Commit-Position: refs/heads/master@{#33775}

Powered by Google App Engine
This is Rietveld 408576698