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

Issue 19145002: Fix possible stack overflow in range analysis. (Closed)

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

Description

Fix possible stack overflow in range analysis. Avoid the implicit recursion for range analysis, using a loop with an explicit stack instead. BUG=chromium:259452 R=dslomov@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15661

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : No side-effects in comparisons. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -31 lines) Patch
M src/hydrogen-range-analysis.h View 1 1 chunk +1 line, -4 lines 0 comments Download
M src/hydrogen-range-analysis.cc View 1 2 3 chunks +57 lines, -27 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Benedikt Meurer
7 years, 5 months ago (2013-07-15 05:55:15 UTC) #1
Dmitry Lomov (no reviews)
https://codereview.chromium.org/19145002/diff/1/src/hydrogen-range-analysis.cc File src/hydrogen-range-analysis.cc (right): https://codereview.chromium.org/19145002/diff/1/src/hydrogen-range-analysis.cc#newcode34 src/hydrogen-range-analysis.cc:34: static void TraceRange(const char* msg, ...) { nit: Why ...
7 years, 5 months ago (2013-07-15 09:12:06 UTC) #2
Benedikt Meurer
PTAL https://codereview.chromium.org/19145002/diff/1/src/hydrogen-range-analysis.cc File src/hydrogen-range-analysis.cc (right): https://codereview.chromium.org/19145002/diff/1/src/hydrogen-range-analysis.cc#newcode34 src/hydrogen-range-analysis.cc:34: static void TraceRange(const char* msg, ...) { On ...
7 years, 5 months ago (2013-07-15 09:17:28 UTC) #3
Dmitry Lomov (no reviews)
https://codereview.chromium.org/19145002/diff/5001/src/hydrogen-range-analysis.cc File src/hydrogen-range-analysis.cc (right): https://codereview.chromium.org/19145002/diff/5001/src/hydrogen-range-analysis.cc#newcode90 src/hydrogen-range-analysis.cc:90: for (int i = dominated_blocks->length(); --i > 0; ) ...
7 years, 5 months ago (2013-07-15 09:43:54 UTC) #4
Benedikt Meurer
:-) https://codereview.chromium.org/19145002/diff/5001/src/hydrogen-range-analysis.cc File src/hydrogen-range-analysis.cc (right): https://codereview.chromium.org/19145002/diff/5001/src/hydrogen-range-analysis.cc#newcode90 src/hydrogen-range-analysis.cc:90: for (int i = dominated_blocks->length(); --i > 0; ...
7 years, 5 months ago (2013-07-15 09:49:15 UTC) #5
Dmitry Lomov (no reviews)
lgtm
7 years, 5 months ago (2013-07-15 09:52:57 UTC) #6
Benedikt Meurer
7 years, 5 months ago (2013-07-15 09:53:52 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r15661 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698