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

Issue 7974009: Fix a bug with uninitialized const variables in the optimizing compiler. (Closed)

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

Description

Fix a bug with uninitialized const variables in the optimizing compiler. We have to check for uninitialized uses before phi-elimination. Otherwise we may miss such a use and result in using the hole value instead. This causes a NULL-dereference or assertion failure. BUG=96989 TEST=mjsunit/compiler/regress-96989.js Committed: http://code.google.com/p/v8/source/detail?r=9337

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -14 lines) Patch
M src/hydrogen.h View 1 1 chunk +6 lines, -4 lines 0 comments Download
M src/hydrogen.cc View 1 4 chunks +21 lines, -10 lines 0 comments Download
A test/mjsunit/compiler/regress-96989.js View 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
fschneider
9 years, 3 months ago (2011-09-20 08:50:11 UTC) #1
Kevin Millikin (Chromium)
This LGTM as a bugfix. But... we have seen a performance regression if we check ...
9 years, 3 months ago (2011-09-20 09:03:46 UTC) #2
fschneider
Good point. I uploaded a new version that checks for arguments-uses in the right place.
9 years, 3 months ago (2011-09-20 09:42:23 UTC) #3
Kevin Millikin (Chromium)
9 years, 3 months ago (2011-09-20 10:00:31 UTC) #4
LGTM.

Powered by Google App Engine
This is Rietveld 408576698