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

Unified Diff: runtime/vm/assembler_ia32.cc

Issue 12263010: Optimize stores to ExternalUint8Array and ExternalUint8ClampedArray in the optimizer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 | « runtime/vm/assembler_ia32.h ('k') | runtime/vm/assembler_x64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_ia32.cc
===================================================================
--- runtime/vm/assembler_ia32.cc (revision 18309)
+++ runtime/vm/assembler_ia32.cc (working copy)
@@ -1625,7 +1625,7 @@
void Assembler::StoreIntoObject(Register object,
- const FieldAddress& dest,
+ const Address& dest,
Register value) {
ASSERT(object != value);
TraceStoreIntoObject(object, dest, value);
@@ -1642,7 +1642,7 @@
void Assembler::StoreIntoObjectNoBarrier(Register object,
- const FieldAddress& dest,
+ const Address& dest,
Register value) {
TraceStoreIntoObject(object, dest, value);
movl(dest, value);
@@ -1659,7 +1659,7 @@
void Assembler::StoreIntoObjectNoBarrier(Register object,
- const FieldAddress& dest,
+ const Address& dest,
const Object& value) {
if (value.IsSmi() || value.InVMHeap()) {
movl(dest, Immediate(reinterpret_cast<int32_t>(value.raw())));
@@ -1676,7 +1676,7 @@
void Assembler::TraceStoreIntoObject(Register object,
- const FieldAddress& dest,
+ const Address& dest,
Register value) {
if (HeapTrace::is_enabled()) {
pushal();
« no previous file with comments | « runtime/vm/assembler_ia32.h ('k') | runtime/vm/assembler_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698