summaryrefslogtreecommitdiffstats
path: root/vm/analysis/Optimize.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-10-20 11:55:54 +0100
committerSteve Block <steveblock@google.com>2011-10-26 11:28:18 +0100
commit92c1f6f1b4249e4e379452ee7b49f027052bf4ce (patch)
tree87cba8cfe24fcdc10e3f2018f0571087989f6429 /vm/analysis/Optimize.cpp
parent1663a6c12fdf4732d7ea0a0406af6085b3c408e4 (diff)
downloadandroid_dalvik-92c1f6f1b4249e4e379452ee7b49f027052bf4ce.tar.gz
android_dalvik-92c1f6f1b4249e4e379452ee7b49f027052bf4ce.tar.bz2
android_dalvik-92c1f6f1b4249e4e379452ee7b49f027052bf4ce.zip
Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I8bd96961e369a08e86ff78b82d90f20f42787eb1
Diffstat (limited to 'vm/analysis/Optimize.cpp')
-rw-r--r--vm/analysis/Optimize.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/vm/analysis/Optimize.cpp b/vm/analysis/Optimize.cpp
index ccef01ef3..e8f136667 100644
--- a/vm/analysis/Optimize.cpp
+++ b/vm/analysis/Optimize.cpp
@@ -532,7 +532,7 @@ ClassObject* dvmOptResolveClass(ClassObject* referrer, u4 classIdx,
}
if (resClass == NULL) {
/* not found, exception should be raised */
- LOGV("DexOpt: class %d (%s) not found",
+ ALOGV("DexOpt: class %d (%s) not found",
classIdx,
dexStringByTypeIdx(pDvmDex->pDexFile, classIdx));
if (pFailure != NULL) {
@@ -770,16 +770,16 @@ static void rewriteInstField(Method* method, u2* insns, Opcode quickOpc,
if (volatileOpc != OP_NOP && dvmIsVolatileField(instField)) {
updateOpcode(method, insns, volatileOpc);
- LOGV("DexOpt: rewrote ifield access %s.%s --> volatile",
+ ALOGV("DexOpt: rewrote ifield access %s.%s --> volatile",
instField->clazz->descriptor, instField->name);
} else if (quickOpc != OP_NOP && instField->byteOffset < 65536) {
updateOpcode(method, insns, quickOpc);
dvmUpdateCodeUnit(method, insns+1, (u2) instField->byteOffset);
- LOGV("DexOpt: rewrote ifield access %s.%s --> %d",
+ ALOGV("DexOpt: rewrote ifield access %s.%s --> %d",
instField->clazz->descriptor, instField->name,
instField->byteOffset);
} else {
- LOGV("DexOpt: no rewrite of ifield access %s.%s",
+ ALOGV("DexOpt: no rewrite of ifield access %s.%s",
instField->clazz->descriptor, instField->name);
}
@@ -811,10 +811,10 @@ static void rewriteJumboInstField(Method* method, u2* insns, Opcode volatileOpc)
if (dvmIsVolatileField(instField)) {
updateOpcode(method, insns, volatileOpc);
- LOGV("DexOpt: rewrote jumbo ifield access %s.%s --> volatile",
+ ALOGV("DexOpt: rewrote jumbo ifield access %s.%s --> volatile",
instField->clazz->descriptor, instField->name);
} else {
- LOGV("DexOpt: no rewrite of jumbo ifield access %s.%s",
+ ALOGV("DexOpt: no rewrite of jumbo ifield access %s.%s",
instField->clazz->descriptor, instField->name);
}
}
@@ -844,7 +844,7 @@ static void rewriteStaticField0(Method* method, u2* insns, Opcode volatileOpc,
if (dvmIsVolatileField(staticField)) {
updateOpcode(method, insns, volatileOpc);
- LOGV("DexOpt: rewrote sfield access %s.%s --> volatile",
+ ALOGV("DexOpt: rewrote sfield access %s.%s --> volatile",
staticField->clazz->descriptor, staticField->name);
}
}
@@ -895,7 +895,7 @@ Method* dvmOptResolveMethod(ClassObject* referrer, u4 methodIdx,
* Can't find the class that the method is a part of, or don't
* have permission to access the class.
*/
- LOGV("DexOpt: can't find called method's class (?.%s)",
+ ALOGV("DexOpt: can't find called method's class (?.%s)",
dexStringById(pDvmDex->pDexFile, pMethodId->nameIdx));
if (pFailure != NULL) { assert(!VERIFY_OK(*pFailure)); }
return NULL;
@@ -926,7 +926,7 @@ Method* dvmOptResolveMethod(ClassObject* referrer, u4 methodIdx,
}
if (resMethod == NULL) {
- LOGV("DexOpt: couldn't find method '%s'",
+ ALOGV("DexOpt: couldn't find method '%s'",
dexStringById(pDvmDex->pDexFile, pMethodId->nameIdx));
if (pFailure != NULL)
*pFailure = VERIFY_ERROR_NO_METHOD;
@@ -1207,7 +1207,7 @@ static bool rewriteExecuteInline(Method* method, u2* insns,
calledMethod = dvmOptResolveMethod(clazz, methodIdx, methodType, NULL);
if (calledMethod == NULL) {
- LOGV("+++ DexOpt inline: can't find %d", methodIdx);
+ ALOGV("+++ DexOpt inline: can't find %d", methodIdx);
return false;
}
@@ -1256,7 +1256,7 @@ static bool rewriteExecuteInlineRange(Method* method, u2* insns,
calledMethod = dvmOptResolveMethod(clazz, methodIdx, methodType, NULL);
if (calledMethod == NULL) {
- LOGV("+++ DexOpt inline/range: can't find %d", methodIdx);
+ ALOGV("+++ DexOpt inline/range: can't find %d", methodIdx);
return false;
}