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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 99203010: Alternative Timer implementation using simply list-based priority heap. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add TODO Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/lib/io/timer_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc
index a3a6dea9707acf92d7e4090f28c74f6e803e7b52..137e63d73ad8e11e11f309d19b473889c7ba1423 100644
--- a/runtime/vm/flow_graph_optimizer.cc
+++ b/runtime/vm/flow_graph_optimizer.cc
@@ -4398,9 +4398,12 @@ void LICM::Optimize() {
}
if (inputs_loop_invariant &&
!current->IsAssertAssignable() &&
- !current->IsAssertBoolean()) {
+ !current->IsAssertBoolean() &&
+ !current->IsGuardField()) {
// TODO(fschneider): Enable hoisting of Assert-instructions
// if it safe to do.
+ // TODO(15652): Hoisting guard-field instructions causes the
+ // optimizing compiler to crash.
Hoist(&it, pre_header, current);
} else if (current->IsCheckSmi() &&
current->InputAt(0)->definition()->IsPhi()) {
« no previous file with comments | « no previous file | sdk/lib/io/timer_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698