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

Issue 2271443003: [deoptimizer] Potentially deopt into debug bytecode. (Closed)

Created:
4 years, 4 months ago by Michael Starzinger
Modified:
4 years, 4 months ago
Reviewers:
Jarin, rmcilroy
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

[deoptimizer] Potentially deopt into debug bytecode. This makes sure the deoptimizer picks bytecode prepared for debugging when materializing an interpreted frame if one is available. This is normally done by the interpreter entry trampoline and hence needs to be replicated by the deoptimizer. R=jarin@chromium.org Committed: https://crrev.com/09a7ac5fcaf795f07f8b8204d25184d38ba9cf6e Cr-Commit-Position: refs/heads/master@{#38815}

Patch Set 1 #

Patch Set 2 : Test expectation. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M src/deoptimizer.cc View 1 chunk +3 lines, -1 line 0 comments Download
M test/mjsunit/mjsunit.status View 1 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 21 (13 generated)
Michael Starzinger
Jaro: PTAL. Ross: FYI.
4 years, 4 months ago (2016-08-23 10:00:54 UTC) #6
Jarin
lgtm. Thanks!
4 years, 4 months ago (2016-08-23 11:47:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2271443003/20001
4 years, 4 months ago (2016-08-23 11:53:36 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-23 11:55:31 UTC) #16
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/09a7ac5fcaf795f07f8b8204d25184d38ba9cf6e Cr-Commit-Position: refs/heads/master@{#38815}
4 years, 4 months ago (2016-08-23 11:55:54 UTC) #18
rmcilroy
LGTM, thanks. https://codereview.chromium.org/2271443003/diff/20001/test/mjsunit/mjsunit.status File test/mjsunit/mjsunit.status (right): https://codereview.chromium.org/2271443003/diff/20001/test/mjsunit/mjsunit.status#newcode60 test/mjsunit/mjsunit.status:60: 'debug-step-turbofan': [PASS, FAIL], Could we move this ...
4 years, 4 months ago (2016-08-23 12:44:25 UTC) #19
Michael Starzinger
https://codereview.chromium.org/2271443003/diff/20001/test/mjsunit/mjsunit.status File test/mjsunit/mjsunit.status (right): https://codereview.chromium.org/2271443003/diff/20001/test/mjsunit/mjsunit.status#newcode60 test/mjsunit/mjsunit.status:60: 'debug-step-turbofan': [PASS, FAIL], On 2016/08/23 12:44:25, rmcilroy wrote: > ...
4 years, 4 months ago (2016-08-23 12:47:08 UTC) #20
rmcilroy
4 years, 4 months ago (2016-08-23 13:02:23 UTC) #21
Message was sent while issue was closed.
On 2016/08/23 12:47:08, Michael Starzinger wrote:
>
https://codereview.chromium.org/2271443003/diff/20001/test/mjsunit/mjsunit.st...
> File test/mjsunit/mjsunit.status (right):
> 
>
https://codereview.chromium.org/2271443003/diff/20001/test/mjsunit/mjsunit.st...
> test/mjsunit/mjsunit.status:60: 'debug-step-turbofan': [PASS, FAIL],
> On 2016/08/23 12:44:25, rmcilroy wrote:
> > Could we move this to be a fail for the "not ignition_staging" variant and a
> > pass for ignition_staging? If it ends up being complicated don't worry, this
> is
> > fine.
> 
> I thought about doing this, but the problem is that the "default" variant is
> also failing (only passing for ignition_staging and ignition_turbofan). And I
> was wary about adding a section for the "default" variant. That seemed strange
> to me. WDYT?

Yeah, I was thinking you could negate the variant to avoid specifying the
default one, i.e.:

if (variant != ignition_staging or variant != ignition_turbofan) {
  'debug-step-turbofan': [FAIL],
}

But this probably doesn't work with the hard-coded variant parsing code. What
you have is fine, still LGTM.

(also didn't realize I'd sent the comments after it already landed, so no need
to change anything)

Powered by Google App Engine
This is Rietveld 408576698