aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/RallocUtil.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-06 19:16:58 +0000
committerSteve Block <steveblock@google.com>2012-01-08 11:26:30 +0000
commitc1a4ab9c313d8a3d12007f2dbef7b5a6fa4ac2ef (patch)
tree76e90a6ae1910835a56e4dad3f60f42392645703 /vm/compiler/codegen/RallocUtil.cpp
parente8e1ddccd616e8226b7cc1e4e9fdb327429249e8 (diff)
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220 Also fix an occurrence of LOGW missed in an earlier change. Bug: 5449033 Change-Id: I2e3b23839e6dcd09015d6402280e9300c75e3406
Diffstat (limited to 'vm/compiler/codegen/RallocUtil.cpp')
-rw-r--r--vm/compiler/codegen/RallocUtil.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/vm/compiler/codegen/RallocUtil.cpp b/vm/compiler/codegen/RallocUtil.cpp
index 27d1f0597..f4a46f0f9 100644
--- a/vm/compiler/codegen/RallocUtil.cpp
+++ b/vm/compiler/codegen/RallocUtil.cpp
@@ -71,13 +71,13 @@ extern void dvmCompilerInitPool(RegisterInfo *regs, int *regNums, int num)
static void dumpRegPool(RegisterInfo *p, int numRegs)
{
int i;
- LOGE("================================================");
+ ALOGE("================================================");
for (i=0; i < numRegs; i++ ){
- LOGE("R[%d]: U:%d, P:%d, part:%d, LV:%d, D:%d, SR:%d, ST:%x, EN:%x",
+ ALOGE("R[%d]: U:%d, P:%d, part:%d, LV:%d, D:%d, SR:%d, ST:%x, EN:%x",
p[i].reg, p[i].inUse, p[i].pair, p[i].partner, p[i].live,
p[i].dirty, p[i].sReg,(int)p[i].defStart, (int)p[i].defEnd);
}
- LOGE("================================================");
+ ALOGE("================================================");
}
static RegisterInfo *getRegInfo(CompilationUnit *cUnit, int reg)
@@ -97,7 +97,7 @@ static RegisterInfo *getRegInfo(CompilationUnit *cUnit, int reg)
return &p[i];
}
}
- LOGE("Tried to get info on a non-existant temp: r%d",reg);
+ ALOGE("Tried to get info on a non-existant temp: r%d",reg);
dvmCompilerAbort(cUnit);
return NULL;
}
@@ -223,7 +223,7 @@ static int allocTempBody(CompilationUnit *cUnit, RegisterInfo *p, int numTemps,
next++;
}
if (required) {
- LOGE("No free temp registers");
+ ALOGE("No free temp registers");
dvmCompilerAbort(cUnit);
}
return -1; // No register available
@@ -272,7 +272,7 @@ extern int dvmCompilerAllocTempDouble(CompilationUnit *cUnit)
}
next += 2;
}
- LOGE("No free temp registers");
+ ALOGE("No free temp registers");
dvmCompilerAbort(cUnit);
return -1;
}
@@ -333,7 +333,7 @@ static RegisterInfo *allocLive(CompilationUnit *cUnit, int sReg,
cUnit->regPool->numFPTemps, sReg);
break;
default:
- LOGE("Invalid register type");
+ ALOGE("Invalid register type");
dvmCompilerAbort(cUnit);
}
return res;
@@ -360,7 +360,7 @@ extern void dvmCompilerFreeTemp(CompilationUnit *cUnit, int reg)
return;
}
}
- LOGE("Tried to free a non-existant temp: r%d",reg);
+ ALOGE("Tried to free a non-existant temp: r%d",reg);
dvmCompilerAbort(cUnit);
}
@@ -430,7 +430,7 @@ extern void dvmCompilerLockTemp(CompilationUnit *cUnit, int reg)
return;
}
}
- LOGE("Tried to lock a non-existant temp: r%d",reg);
+ ALOGE("Tried to lock a non-existant temp: r%d",reg);
dvmCompilerAbort(cUnit);
}