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

Issue 3621013: Fix a bug in our handling of conditional expressions in test contexts. (Closed)

Created:
10 years, 2 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
Kasper Lund
CC:
v8-dev
Visibility:
Public.

Description

Fix a bug in our handling of conditional expressions in test contexts. In the FullCodeGenerator, we compile the true subexpression of a conditional (ternary) expression in the inherited context of the entire expression. This is correct for effect and value contexts, but not for test contexts where the context includes a possible fall-through label. Committed: http://code.google.com/p/v8/source/detail?r=5607

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -3 lines) Patch
M src/full-codegen.h View 1 chunk +9 lines, -0 lines 0 comments Download
M src/full-codegen.cc View 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Kevin Millikin (Chromium)
10 years, 2 months ago (2010-10-08 13:06:08 UTC) #1
Kasper Lund
10 years, 2 months ago (2010-10-08 13:07:48 UTC) #2
LGTM.

Powered by Google App Engine
This is Rietveld 408576698