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

Unified Diff: runtime/vm/intermediate_language.h

Issue 282073006: Inline Array allocation for constant lengths (except ARM64). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 36234)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -202,6 +202,7 @@
V(_GrowableList, forEach, GrowableArrayForEach, 195359970) \
V(_List, [], ObjectArrayGetIndexed, 675155875) \
V(_List, []=, ObjectArraySetIndexed, 1228569706) \
+ V(_List, get:isEmpty, ObjectArrayIsEmpty, 1082804442) \
V(_ImmutableList, [], ImmutableArrayGetIndexed, 1768793932) \
V(_GrowableList, [], GrowableArrayGetIndexed, 1282104248) \
V(_GrowableList, []=, GrowableArraySetIndexed, 807019110) \
@@ -4382,7 +4383,7 @@
virtual EffectSet Effects() const { return EffectSet::None(); }
- // TODO(srdjan): return false if length is a positive Smi.
+ // OutOfMemoryError can be called.
virtual bool MayThrow() const { return true; }
virtual AliasIdentity Identity() const { return identity_; }
« no previous file with comments | « no previous file | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698