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

Issue 1925063002: [debugger,interpreter] add source position to stack checks. (Closed)

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

Description

[debugger,interpreter] add source position to stack checks. DevTools uses the debug interrupt to trap on function entry. Without source position at the stack check, we would get bogus source positions. R=mstarzinger@chromium.org BUG=chromium:595646 LOG=N Committed: https://crrev.com/5ea84123040a93948ef3e1c49ff53f0c8e6dba33 Cr-Commit-Position: refs/heads/master@{#35864}

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix and test #

Patch Set 3 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -12 lines) Patch
M src/interpreter/bytecode-array-builder.h View 1 chunk +1 line, -1 line 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 1 chunk +7 lines, -1 line 0 comments Download
M src/interpreter/bytecode-generator.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A + test/mjsunit/debug-stack-check-position.js View 1 2 1 chunk +9 lines, -7 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (6 generated)
Yang
4 years, 7 months ago (2016-04-28 11:13:21 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/1925063002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925063002/1
4 years, 7 months ago (2016-04-28 11:44:33 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_rel_ng/builds/4985) v8_linux_rel_ng_triggered on ...
4 years, 7 months ago (2016-04-28 12:01:04 UTC) #5
Michael Starzinger
LGTM from my end. +Ross https://codereview.chromium.org/1925063002/diff/1/src/interpreter/bytecode-array-builder.cc File src/interpreter/bytecode-array-builder.cc (right): https://codereview.chromium.org/1925063002/diff/1/src/interpreter/bytecode-array-builder.cc#newcode868 src/interpreter/bytecode-array-builder.cc:868: source_position_table_builder_.AddExpressionPosition(bytecodes_.size(), suggestion: Do you ...
4 years, 7 months ago (2016-04-28 12:06:53 UTC) #7
Yang
On 2016/04/28 12:06:53, Michael Starzinger wrote: > LGTM from my end. +Ross > > https://codereview.chromium.org/1925063002/diff/1/src/interpreter/bytecode-array-builder.cc ...
4 years, 7 months ago (2016-04-28 12:11:21 UTC) #8
rmcilroy
LGTM once the bots are happy, but could we add a test for this?
4 years, 7 months ago (2016-04-28 12:30:22 UTC) #9
Yang
On 2016/04/28 12:30:22, rmcilroy wrote: > LGTM once the bots are happy, but could we ...
4 years, 7 months ago (2016-04-28 12:30:55 UTC) #10
Yang
On 2016/04/28 12:30:55, Yang wrote: > On 2016/04/28 12:30:22, rmcilroy wrote: > > LGTM once ...
4 years, 7 months ago (2016-04-28 12:34:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1925063002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1925063002/40001
4 years, 7 months ago (2016-04-28 12:43:07 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-04-28 13:16:52 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:02:27 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5ea84123040a93948ef3e1c49ff53f0c8e6dba33
Cr-Commit-Position: refs/heads/master@{#35864}

Powered by Google App Engine
This is Rietveld 408576698