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

Issue 6993023: Fix a bug in Lithium environment iteration. (Closed)

Created:
9 years, 6 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix a bug in Lithium environment iteration. The Advance() function of the class responsible for iterating environment uses didn't always advance as far as it could (relying on the HasNext predicate to finish advancing). This is brittle. The HasNext predicate also didn't advance as far as it could when it was at the end of an environment level. This is a bug. R=jkummerow@chromium.org BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=8181

Patch Set 1 #

Patch Set 2 : Rename HasNext => !Done, Next => Current. #

Patch Set 3 : Added x64 and ARM files. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -88 lines) Patch
M src/arm/lithium-arm.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M src/lithium.h View 1 2 chunks +28 lines, -32 lines 0 comments Download
M src/lithium-allocator.h View 1 3 chunks +8 lines, -8 lines 0 comments Download
M src/lithium-allocator.cc View 1 5 chunks +9 lines, -9 lines 0 comments Download
M src/lithium-allocator-inl.h View 1 4 chunks +29 lines, -27 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
A test/mjsunit/regress/regress-1423.js View 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Kevin Millikin (Chromium)
9 years, 6 months ago (2011-06-03 12:26:50 UTC) #1
Kevin Millikin (Chromium)
9 years, 6 months ago (2011-06-03 13:04:31 UTC) #2
Kevin Millikin (Chromium)
+fschneider Florian, can you take a quick look at this.
9 years, 6 months ago (2011-06-06 11:06:48 UTC) #3
Jakob Kummerow
9 years, 6 months ago (2011-06-06 11:19:26 UTC) #4
LGTM

(sorry for the delay)

Powered by Google App Engine
This is Rietveld 408576698