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

Unified Diff: runtime/vm/intermediate_language_arm.cc

Issue 294223003: Last cross-platform cleanup in preparation of improved ARM code for indexed (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 | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/intermediate_language_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_arm.cc
===================================================================
--- runtime/vm/intermediate_language_arm.cc (revision 36576)
+++ runtime/vm/intermediate_language_arm.cc (working copy)
@@ -1203,7 +1203,7 @@
if (!IsExternal()) {
ASSERT(this->array()->definition()->representation() == kTagged);
__ AddImmediate(idx,
- FlowGraphCompiler::DataOffsetFor(class_id()) - kHeapObjectTag);
+ Instance::DataOffsetFor(class_id()) - kHeapObjectTag);
}
Address element_address(idx);
const QRegister result = locs()->out(0).fpu_reg();
@@ -1239,7 +1239,7 @@
ASSERT(kSmiTagShift == 1);
const intptr_t offset = IsExternal()
? 0
- : FlowGraphCompiler::DataOffsetFor(class_id()) - kHeapObjectTag;
+ : Instance::DataOffsetFor(class_id()) - kHeapObjectTag;
switch (index_scale()) {
case 1: {
__ add(index.reg(), array, ShifterOperand(index.reg(), ASR, kSmiTagSize));
@@ -1250,7 +1250,7 @@
// No scaling needed, since index is a smi.
if (!IsExternal()) {
__ AddImmediate(index.reg(), index.reg(),
- FlowGraphCompiler::DataOffsetFor(class_id()) - kHeapObjectTag);
+ Instance::DataOffsetFor(class_id()) - kHeapObjectTag);
element_address = Address(array, index.reg(), LSL, 0);
} else {
element_address = Address(array, index.reg(), LSL, 0);
@@ -1470,7 +1470,7 @@
if (!IsExternal()) {
ASSERT(this->array()->definition()->representation() == kTagged);
__ AddImmediate(idx,
- FlowGraphCompiler::DataOffsetFor(class_id()) - kHeapObjectTag);
+ Instance::DataOffsetFor(class_id()) - kHeapObjectTag);
}
switch (class_id()) {
case kTypedDataFloat32ArrayCid: {
@@ -1508,7 +1508,7 @@
ASSERT(kSmiTagShift == 1);
const intptr_t offset = IsExternal()
? 0
- : FlowGraphCompiler::DataOffsetFor(class_id()) - kHeapObjectTag;
+ : Instance::DataOffsetFor(class_id()) - kHeapObjectTag;
switch (index_scale()) {
case 1: {
__ add(index.reg(), array, ShifterOperand(index.reg(), ASR, kSmiTagSize));
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/intermediate_language_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698