summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/arm/ArmRallocUtil.cc
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2012-02-02 16:46:25 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2012-02-02 16:46:25 -0800
commit1ff1b98327b8056e20cd959963d759697a2b2f11 (patch)
treeb5f93a7ca614ab8f34551cf179f9bdb41bd4adf4 /src/compiler/codegen/arm/ArmRallocUtil.cc
parent3c92a1833dcf1bda1b6180e053ffa4334866d1f9 (diff)
parent5abfa3ea35781464df8fae60aaf03f48a295e965 (diff)
Merge "Compiler tuning" into dalvik-dev
Diffstat (limited to 'src/compiler/codegen/arm/ArmRallocUtil.cc')
-rw-r--r--src/compiler/codegen/arm/ArmRallocUtil.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/codegen/arm/ArmRallocUtil.cc b/src/compiler/codegen/arm/ArmRallocUtil.cc
index a193a7c7f9..d5400076c1 100644
--- a/src/compiler/codegen/arm/ArmRallocUtil.cc
+++ b/src/compiler/codegen/arm/ArmRallocUtil.cc
@@ -132,9 +132,9 @@ extern void oatDoPromotion(CompilationUnit* cUnit)
* reg.
*/
RefCounts *coreRegs = (RefCounts *)
- oatNew(sizeof(RefCounts) * numRegs, true);
+ oatNew(sizeof(RefCounts) * numRegs, true, kAllocRegAlloc);
RefCounts *fpRegs = (RefCounts *)
- oatNew(sizeof(RefCounts) * numRegs, true);
+ oatNew(sizeof(RefCounts) * numRegs, true, kAllocRegAlloc);
for (int i = 0; i < numRegs; i++) {
coreRegs[i].sReg = fpRegs[i].sReg = i;
}