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

Unified Diff: runtime/vm/flow_graph_optimizer.h

Issue 12378039: Inline ByteArray setters like setUint8 in the optimizer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebased Created 7 years, 9 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
Index: runtime/vm/flow_graph_optimizer.h
===================================================================
--- runtime/vm/flow_graph_optimizer.h (revision 19765)
+++ runtime/vm/flow_graph_optimizer.h (working copy)
@@ -87,9 +87,15 @@
LoadIndexedInstr* BuildStringCodeUnitAt(InstanceCallInstr* call,
intptr_t cid);
- LoadIndexedInstr* BuildByteArrayViewLoad(InstanceCallInstr* call,
- intptr_t receiver_cid,
- intptr_t view_cid);
+ bool BuildByteArrayViewLoad(InstanceCallInstr* call,
+ intptr_t receiver_cid,
+ intptr_t view_cid);
+ bool BuildByteArrayViewStore(InstanceCallInstr* call,
+ intptr_t receiver_cid,
+ intptr_t view_cid);
+ void PrepareByteArrayViewOp(InstanceCallInstr* call,
+ intptr_t receiver_cid,
+ intptr_t view_cid);
// Insert a check of 'to_check' determined by 'unary_checks'. If the
// check fails it will deoptimize to 'deopt_id' using the deoptimization

Powered by Google App Engine
This is Rietveld 408576698