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

Issue 7350019: Fix shortcutting bug in HInferRepresentation (Closed)

Created:
9 years, 5 months ago by wingo
Modified:
9 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix shortcutting bug in HInferRepresentation * src/hydrogen.cc (HInferRepresentation::Analyze): Fix iterative loop over phis; the shortcutting behavior of || appears to be accidental here, causing O(n^2) convergence. Not that it matters much, but hey! While I'm at it, a minor comment fix: * src/hydrogen-instructions.h (EnsureAndPropagateNotMinusZero): Fix a comment about the kinds of instructions that propagate to multiple inputs. BUG= TEST=passes tools/test.py Committed: http://code.google.com/p/v8/source/detail?r=8645

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M src/hydrogen.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/hydrogen-instructions.h View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
wingo
9 years, 5 months ago (2011-07-13 11:16:38 UTC) #1
Mads Ager (chromium)
9 years, 5 months ago (2011-07-13 13:42:52 UTC) #2
LGTM

Nice catch! :-)

I will land it.

Powered by Google App Engine
This is Rietveld 408576698