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

Issue 2651653005: [turbofan] Fix accumulator use in bytecode analysis. (Closed)

Created:
3 years, 11 months ago by Michael Starzinger
Modified:
3 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Fix accumulator use in bytecode analysis. This fixes the checks of accumulator usage flags in the computation of the interpreter register liveness during bytecode analysis. The usage flags at hand are bit patterns as opposed to flat enum values. Use the safe accessors instead of plain comparison. R=jarin@chromium.org TEST=mjsunit/regress/regress-crbug-683581 BUG=chromium:683581 Review-Url: https://codereview.chromium.org/2651653005 Cr-Commit-Position: refs/heads/master@{#42648} Committed: https://chromium.googlesource.com/v8/v8/+/efc8cb16d783c923c690be93cd55ae37f947edca

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M src/compiler/bytecode-analysis.cc View 2 chunks +2 lines, -3 lines 1 comment Download
A test/mjsunit/regress/regress-crbug-683581.js View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
Michael Starzinger
Jaro: PTAL. Leszek: FYI.
3 years, 11 months ago (2017-01-24 13:02:19 UTC) #4
rmcilroy
Yikes, good catch thanks Michi. LGTM FWIW.
3 years, 11 months ago (2017-01-24 14:41:49 UTC) #7
Leszek Swirski
Thanks Michi, I thought that I'd thought of this (since the other option is kReadWrite) ...
3 years, 11 months ago (2017-01-24 19:58:23 UTC) #8
Jarin
lgtm, thanks!
3 years, 11 months ago (2017-01-25 06:48:53 UTC) #9
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/2651653005/1
3 years, 11 months ago (2017-01-25 09:12:42 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 09:14:46 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/efc8cb16d783c923c690be93cd55ae37f94...

Powered by Google App Engine
This is Rietveld 408576698