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

Unified Diff: runtime/vm/intermediate_language_ia32.cc

Issue 290993007: Cross-platform cleanup in preparation of better ARM code for indexed load/store. (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_compiler.h ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_ia32.cc
===================================================================
--- runtime/vm/intermediate_language_ia32.cc (revision 36458)
+++ runtime/vm/intermediate_language_ia32.cc (working copy)
@@ -1034,16 +1034,16 @@
Address element_address(kNoRegister, 0);
if (IsExternal()) {
element_address = index.IsRegister()
- ? FlowGraphCompiler::ExternalElementAddressForRegIndex(
+ ? compiler->ExternalElementAddressForRegIndex(
index_scale(), array, index.reg())
- : FlowGraphCompiler::ExternalElementAddressForIntIndex(
+ : compiler->ExternalElementAddressForIntIndex(
index_scale(), array, Smi::Cast(index.constant()).Value());
} else {
ASSERT(this->array()->definition()->representation() == kTagged);
element_address = index.IsRegister()
- ? FlowGraphCompiler::ElementAddressForRegIndex(
+ ? compiler->ElementAddressForRegIndex(
class_id(), index_scale(), array, index.reg())
- : FlowGraphCompiler::ElementAddressForIntIndex(
+ : compiler->ElementAddressForIntIndex(
class_id(), index_scale(), array,
Smi::Cast(index.constant()).Value());
}
@@ -1243,16 +1243,16 @@
Address element_address(kNoRegister, 0);
if (IsExternal()) {
element_address = index.IsRegister()
- ? FlowGraphCompiler::ExternalElementAddressForRegIndex(
+ ? compiler->ExternalElementAddressForRegIndex(
index_scale(), array, index.reg())
- : FlowGraphCompiler::ExternalElementAddressForIntIndex(
+ : compiler->ExternalElementAddressForIntIndex(
index_scale(), array, Smi::Cast(index.constant()).Value());
} else {
ASSERT(this->array()->definition()->representation() == kTagged);
element_address = index.IsRegister()
- ? FlowGraphCompiler::ElementAddressForRegIndex(
+ ? compiler->ElementAddressForRegIndex(
class_id(), index_scale(), array, index.reg())
- : FlowGraphCompiler::ElementAddressForIntIndex(
+ : compiler->ElementAddressForIntIndex(
class_id(), index_scale(), array,
Smi::Cast(index.constant()).Value());
}
« no previous file with comments | « runtime/vm/flow_graph_compiler.h ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698