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

Issue 50293007: Fix a bug in typecasts in the VM. (Closed)

Created:
7 years, 1 month ago by Kevin Millikin (Google)
Modified:
7 years, 1 month ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix a bug in typecasts in the VM. When a typecast is evaluated solely for its side effects and the check is eliminated in the flow graph builder, the subexpression is not evaluated. This is wrong. Fix by evaluating the subexpression. R=fschneider@google.com Committed: https://code.google.com/p/dart/source/detail?r=29674

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -7 lines) Patch
M runtime/vm/flow_graph_builder.cc View 2 chunks +11 lines, -5 lines 0 comments Download
M tests/language/cast2_test.dart View 2 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Google)
7 years, 1 month ago (2013-10-31 13:29:41 UTC) #1
Florian Schneider
LGTM.
7 years, 1 month ago (2013-10-31 14:07:49 UTC) #2
Kevin Millikin (Google)
7 years, 1 month ago (2013-10-31 14:39:26 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r29674 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698