summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/arm/ArchUtility.cc
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2011-09-23 12:46:19 -0700
committer buzbee <buzbee@google.com> 2011-09-23 13:53:25 -0700
commitc41e5b5ae1befe2c602d55de1dbc04d1914f4a6c (patch)
treefa122d75b64193d7c2dee7a1be871a5ae8511493 /src/compiler/codegen/arm/ArchUtility.cc
parentf4afb7aec4e51c2e682cf3af4d6511add74d2f38 (diff)
Add tables to map between callee saves and vregs
Also added function to return sp-relative offset for Dalvik virtual registers using Method* [Note: must be matched with corresponding libcore change to reflect new field in Method] Change-Id: Id739908c6232ce60763d8199bc05111e960da46e
Diffstat (limited to 'src/compiler/codegen/arm/ArchUtility.cc')
-rw-r--r--src/compiler/codegen/arm/ArchUtility.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/compiler/codegen/arm/ArchUtility.cc b/src/compiler/codegen/arm/ArchUtility.cc
index 45e1b19ee7..350f38caeb 100644
--- a/src/compiler/codegen/arm/ArchUtility.cc
+++ b/src/compiler/codegen/arm/ArchUtility.cc
@@ -450,13 +450,15 @@ void oatCodegenDump(CompilationUnit* cUnit)
}
- int linebreak = 0;
std::string signature = method->GetSignature()->ToModifiedUtf8();
std::string name = method->GetName()->ToModifiedUtf8();
std::string descriptor = method->GetDeclaringClass()->GetDescriptor()->
ToModifiedUtf8();
char buf[256];
+#if 0
+ int linebreak = 0;
+ //TODO: delete when we're sure it's no longer necessary
LOG(INFO) << "*/";
sprintf(buf,"\n u1 %s%s_%s_code[] = {", descriptor.c_str(),
name.c_str(), signature.c_str());
@@ -477,6 +479,7 @@ void oatCodegenDump(CompilationUnit* cUnit)
LOG(INFO) << buf;
}
LOG(INFO) << " };\n\n";
+#endif
// Dump mapping table
if (cUnit->mappingTable.size() > 0) {
@@ -495,4 +498,6 @@ void oatCodegenDump(CompilationUnit* cUnit)
}
LOG(INFO) <<" };\n\n";
}
+
+ // Dump vmap table
}