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 11195042: Disable hoisting of checked-mode assertions out of loops. (Closed)

Created:
8 years, 2 months ago by Florian Schneider
Modified:
8 years, 2 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Disable hoisting of checked-mode assertions out of loops. They can only be safely hoisted if the loop is always executed at least once. For now, I added a TODO to add an analysis for safely hoisting these asserts. TEST=tests/language/optimized_hoisting_checked_mode_assert.dart Committed: https://code.google.com/p/dart/source/detail?r=13791

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -1 line) Patch
M runtime/vm/flow_graph_optimizer.cc View 1 chunk +5 lines, -1 line 0 comments Download
A tests/language/optimized_hoisting_checked_mode_assert.dart View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Florian Schneider
8 years, 2 months ago (2012-10-18 14:45:48 UTC) #1
srdjan
8 years, 2 months ago (2012-10-18 16:27:49 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698