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

Issue 2058733002: [liveedit]: fail to patch if target is outside of async function on stack (Closed)

Created:
4 years, 6 months ago by caitp (gmail)
Modified:
4 years, 6 months ago
Reviewers:
Dan Ehrenberg, Yang
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

[liveedit]: fail to patch if target is outside of async function on stack If an active generator is found on the stack (FUNCTION_BLOCKED_UNDER_GENERATOR), and the target function is not found on top of that generator, add the error. Based on test by wingo@igalia.com and littledan@chromium.org (https://codereview.chromium.org/2035643003/) LOG=N BUG=v8:4483 R=yangguo@chromium.org, littledan@chromium.org Committed: https://crrev.com/fd4d385b6d5cd710921332310204dfcd5c7ab762 Cr-Commit-Position: refs/heads/master@{#37000}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix the CHECK failure, too #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -40 lines) Patch
M src/builtins.cc View 1 1 chunk +11 lines, -2 lines 1 comment Download
M src/debug/liveedit.cc View 1 2 chunks +22 lines, -0 lines 0 comments Download
A + test/mjsunit/harmony/debug-async-liveedit.js View 6 chunks +52 lines, -38 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
caitp (gmail)
PTAL --- This does not actually fix the issue with the getEvalPosition accessor, it's still ...
4 years, 6 months ago (2016-06-10 13:06:22 UTC) #1
caitp (gmail)
https://codereview.chromium.org/2058733002/diff/1/src/debug/liveedit.cc File src/debug/liveedit.cc (right): https://codereview.chromium.org/2058733002/diff/1/src/debug/liveedit.cc#newcode1629 src/debug/liveedit.cc:1629: void set_status(LiveEdit::FunctionPatchabilityStatus status) { this stuff might actually not ...
4 years, 6 months ago (2016-06-10 13:08:17 UTC) #2
Dan Ehrenberg
Do you think you could write a test for the case you're concerned about? https://codereview.chromium.org/2058733002/diff/1/src/debug/liveedit.cc ...
4 years, 6 months ago (2016-06-10 13:14:41 UTC) #3
caitp (gmail)
https://codereview.chromium.org/2058733002/diff/1/src/debug/liveedit.cc File src/debug/liveedit.cc (right): https://codereview.chromium.org/2058733002/diff/1/src/debug/liveedit.cc#newcode1629 src/debug/liveedit.cc:1629: void set_status(LiveEdit::FunctionPatchabilityStatus status) { On 2016/06/10 13:14:41, Dan Ehrenberg ...
4 years, 6 months ago (2016-06-10 13:18:45 UTC) #4
caitp (gmail)
Ping --- I have a fix for the CHECK failure in the latest CL. The ...
4 years, 6 months ago (2016-06-14 15:02:08 UTC) #5
Dan Ehrenberg
https://codereview.chromium.org/2058733002/diff/20001/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/2058733002/diff/20001/src/builtins.cc#newcode4514 src/builtins.cc:4514: USE(position); Should we be doing this for generators as ...
4 years, 6 months ago (2016-06-14 16:36:01 UTC) #6
caitp (gmail)
On 2016/06/14 16:36:01, Dan Ehrenberg wrote: > https://codereview.chromium.org/2058733002/diff/20001/src/builtins.cc > File src/builtins.cc (right): > > https://codereview.chromium.org/2058733002/diff/20001/src/builtins.cc#newcode4514 ...
4 years, 6 months ago (2016-06-14 16:48:51 UTC) #7
Dan Ehrenberg
lgtm
4 years, 6 months ago (2016-06-14 17:07:00 UTC) #8
Yang
On 2016/06/14 17:07:00, Dan Ehrenberg wrote: > lgtm lgtm.
4 years, 6 months ago (2016-06-15 09:09:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2058733002/20001
4 years, 6 months ago (2016-06-15 12:21:23 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-15 12:23:06 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-15 12:23:10 UTC) #13
commit-bot: I haz the power
4 years, 6 months ago (2016-06-15 12:25:37 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fd4d385b6d5cd710921332310204dfcd5c7ab762
Cr-Commit-Position: refs/heads/master@{#37000}

Powered by Google App Engine
This is Rietveld 408576698