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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 15984010: Improve array bounds check elimination for growable lists. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 months 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 | runtime/vm/intermediate_language.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.cc
===================================================================
--- runtime/vm/flow_graph_optimizer.cc (revision 23667)
+++ runtime/vm/flow_graph_optimizer.cc (working copy)
@@ -757,7 +757,6 @@
InsertBefore(call,
new CheckArrayBoundInstr(new Value(length),
new Value(*index),
- class_id,
call),
call->env(),
Definition::kEffect);
@@ -1637,7 +1636,6 @@
InsertBefore(call,
new CheckArrayBoundInstr(new Value(length),
new Value(index),
- cid,
call),
call->env(),
Definition::kEffect);
@@ -2236,7 +2234,6 @@
InsertBefore(call,
new CheckArrayBoundInstr(new Value(len_in_bytes),
new Value(byte_index),
- receiver_cid,
call),
call->env(),
Definition::kEffect);
@@ -3121,10 +3118,6 @@
void RangeAnalysis::ConstrainValueAfterCheckArrayBound(
Definition* defn, CheckArrayBoundInstr* check) {
- if (!CheckArrayBoundInstr::IsFixedLengthArrayType(check->array_type())) {
- return;
- }
-
Definition* length = check->length()->definition();
Range* constraint_range = new Range(
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698