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

Issue 21065003: Turn mark deoptimize on undefined into a proper HPhase. (Closed)

Created:
7 years, 4 months ago by Benedikt Meurer
Modified:
7 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Turn mark deoptimize on undefined into a proper HPhase. This patch also removes the implicit recursion on phi operands, using a loop and a worklist instead, to avoid potential stack overflows. R=dslomov@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15952

Patch Set 1 #

Patch Set 2 : Similarity 99% #

Total comments: 2

Patch Set 3 : Addressed comment #

Patch Set 4 : Again similarity 99% #

Patch Set 5 : Better initial worklist capacity #

Total comments: 2

Patch Set 6 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -35 lines) Patch
M src/hydrogen.h View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 chunks +2 lines, -33 lines 0 comments Download
A src/hydrogen-mark-deoptimize.h View 1 2 3 4 5 1 chunk +63 lines, -0 lines 0 comments Download
A src/hydrogen-mark-deoptimize.cc View 1 2 3 4 5 1 chunk +71 lines, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Benedikt Meurer
PTAL
7 years, 4 months ago (2013-07-29 13:00:18 UTC) #1
Dmitry Lomov (no reviews)
https://codereview.chromium.org/21065003/diff/4001/src/hydrogen-mark-deoptimize.cc File src/hydrogen-mark-deoptimize.cc (right): https://codereview.chromium.org/21065003/diff/4001/src/hydrogen-mark-deoptimize.cc#newcode53 src/hydrogen-mark-deoptimize.cc:53: while (!worklist.is_empty()) { This fusion of two methods into ...
7 years, 4 months ago (2013-07-29 15:31:47 UTC) #2
Benedikt Meurer
PTAL https://codereview.chromium.org/21065003/diff/4001/src/hydrogen-mark-deoptimize.cc File src/hydrogen-mark-deoptimize.cc (right): https://codereview.chromium.org/21065003/diff/4001/src/hydrogen-mark-deoptimize.cc#newcode53 src/hydrogen-mark-deoptimize.cc:53: while (!worklist.is_empty()) { On 2013/07/29 15:31:48, Dmitry Lomov ...
7 years, 4 months ago (2013-07-29 19:38:52 UTC) #3
Dmitry Lomov (no reviews)
https://codereview.chromium.org/21065003/diff/15001/src/hydrogen-mark-deoptimize.cc File src/hydrogen-mark-deoptimize.cc (right): https://codereview.chromium.org/21065003/diff/15001/src/hydrogen-mark-deoptimize.cc#newcode51 src/hydrogen-mark-deoptimize.cc:51: void HMarkDeoptimizeOnUndefinedPhase::AddToWorklist(HPhi* phi) { Any reason to have AddToWorklist ...
7 years, 4 months ago (2013-07-30 09:05:24 UTC) #4
Benedikt Meurer
PTAL https://codereview.chromium.org/21065003/diff/15001/src/hydrogen-mark-deoptimize.cc File src/hydrogen-mark-deoptimize.cc (right): https://codereview.chromium.org/21065003/diff/15001/src/hydrogen-mark-deoptimize.cc#newcode51 src/hydrogen-mark-deoptimize.cc:51: void HMarkDeoptimizeOnUndefinedPhase::AddToWorklist(HPhi* phi) { On 2013/07/30 09:05:24, Dmitry ...
7 years, 4 months ago (2013-07-30 09:59:10 UTC) #5
Dmitry Lomov (no reviews)
lgtm
7 years, 4 months ago (2013-07-30 10:07:47 UTC) #6
Benedikt Meurer
7 years, 4 months ago (2013-07-30 10:25:27 UTC) #7
Message was sent while issue was closed.
Committed patchset #6 manually as r15952 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698