diff options
| author | Steve Block <steveblock@google.com> | 2012-01-06 19:16:58 +0000 |
|---|---|---|
| committer | Steve Block <steveblock@google.com> | 2012-01-08 11:26:30 +0000 |
| commit | c1a4ab9c313d8a3d12007f2dbef7b5a6fa4ac2ef (patch) | |
| tree | 76e90a6ae1910835a56e4dad3f60f42392645703 /vm/compiler/codegen/arm/CodegenDriver.cpp | |
| parent | e8e1ddccd616e8226b7cc1e4e9fdb327429249e8 (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/arm/CodegenDriver.cpp')
| -rw-r--r-- | vm/compiler/codegen/arm/CodegenDriver.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/vm/compiler/codegen/arm/CodegenDriver.cpp b/vm/compiler/codegen/arm/CodegenDriver.cpp index 57fd38808..d7017b0fe 100644 --- a/vm/compiler/codegen/arm/CodegenDriver.cpp +++ b/vm/compiler/codegen/arm/CodegenDriver.cpp @@ -738,7 +738,7 @@ static bool genArithOpLong(CompilationUnit *cUnit, MIR *mir, return false; } default: - LOGE("Invalid long arith op"); + ALOGE("Invalid long arith op"); dvmCompilerAbort(cUnit); } if (!callOut) { @@ -840,7 +840,7 @@ static bool genArithOpInt(CompilationUnit *cUnit, MIR *mir, op = kOpLsr; break; default: - LOGE("Invalid word arith op: %#x(%d)", + ALOGE("Invalid word arith op: %#x(%d)", mir->dalvikInsn.opcode, mir->dalvikInsn.opcode); dvmCompilerAbort(cUnit); } @@ -1477,7 +1477,7 @@ static bool handleFmt10x(CompilationUnit *cUnit, MIR *mir) { Opcode dalvikOpcode = mir->dalvikInsn.opcode; if ((dalvikOpcode >= OP_UNUSED_3E) && (dalvikOpcode <= OP_UNUSED_43)) { - LOGE("Codegen: got unused opcode %#x",dalvikOpcode); + ALOGE("Codegen: got unused opcode %#x",dalvikOpcode); return true; } switch (dalvikOpcode) { @@ -1491,7 +1491,7 @@ static bool handleFmt10x(CompilationUnit *cUnit, MIR *mir) case OP_UNUSED_79: case OP_UNUSED_7A: case OP_UNUSED_FF: - LOGE("Codegen: got unused opcode %#x",dalvikOpcode); + ALOGE("Codegen: got unused opcode %#x",dalvikOpcode); return true; case OP_NOP: break; @@ -1586,7 +1586,7 @@ static bool handleFmt21c_Fmt31c(CompilationUnit *cUnit, MIR *mir) if (strPtr == NULL) { BAIL_LOOP_COMPILATION(); - LOGE("Unexpected null string"); + ALOGE("Unexpected null string"); dvmAbort(); } @@ -1602,7 +1602,7 @@ static bool handleFmt21c_Fmt31c(CompilationUnit *cUnit, MIR *mir) if (classPtr == NULL) { BAIL_LOOP_COMPILATION(); - LOGE("Unexpected null class"); + ALOGE("Unexpected null class"); dvmAbort(); } @@ -1630,7 +1630,7 @@ static bool handleFmt21c_Fmt31c(CompilationUnit *cUnit, MIR *mir) if (fieldPtr == NULL) { BAIL_LOOP_COMPILATION(); - LOGE("Unexpected null static field"); + ALOGE("Unexpected null static field"); dvmAbort(); } @@ -1674,7 +1674,7 @@ static bool handleFmt21c_Fmt31c(CompilationUnit *cUnit, MIR *mir) if (fieldPtr == NULL) { BAIL_LOOP_COMPILATION(); - LOGE("Unexpected null static field"); + ALOGE("Unexpected null static field"); dvmAbort(); } @@ -1711,7 +1711,7 @@ static bool handleFmt21c_Fmt31c(CompilationUnit *cUnit, MIR *mir) if (fieldPtr == NULL) { BAIL_LOOP_COMPILATION(); - LOGE("Unexpected null static field"); + ALOGE("Unexpected null static field"); dvmAbort(); } @@ -1761,7 +1761,7 @@ static bool handleFmt21c_Fmt31c(CompilationUnit *cUnit, MIR *mir) if (fieldPtr == NULL) { BAIL_LOOP_COMPILATION(); - LOGE("Unexpected null static field"); + ALOGE("Unexpected null static field"); dvmAbort(); } @@ -1784,7 +1784,7 @@ static bool handleFmt21c_Fmt31c(CompilationUnit *cUnit, MIR *mir) if (classPtr == NULL) { BAIL_LOOP_COMPILATION(); - LOGE("Unexpected null class"); + ALOGE("Unexpected null class"); dvmAbort(); } @@ -2129,7 +2129,7 @@ static bool handleFmt21t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, break; default: cond = (ArmConditionCode)0; - LOGE("Unexpected opcode (%d) for Fmt21t", dalvikOpcode); + ALOGE("Unexpected opcode (%d) for Fmt21t", dalvikOpcode); dvmCompilerAbort(cUnit); } genConditionalBranch(cUnit, cond, &labelList[bb->taken->id]); @@ -2416,7 +2416,7 @@ static bool handleFmt22c(CompilationUnit *cUnit, MIR *mir) if (fieldPtr == NULL) { BAIL_LOOP_COMPILATION(); - LOGE("Unexpected null instance field"); + ALOGE("Unexpected null instance field"); dvmAbort(); } @@ -2443,7 +2443,7 @@ static bool handleFmt22c(CompilationUnit *cUnit, MIR *mir) if (classPtr == NULL) { BAIL_LOOP_COMPILATION(); - LOGE("Unexpected null class"); + ALOGE("Unexpected null class"); dvmAbort(); } @@ -2632,7 +2632,7 @@ static bool handleFmt22t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, break; default: cond = (ArmConditionCode)0; - LOGE("Unexpected opcode (%d) for Fmt22t", dalvikOpcode); + ALOGE("Unexpected opcode (%d) for Fmt22t", dalvikOpcode); dvmCompilerAbort(cUnit); } genConditionalBranch(cUnit, cond, &labelList[bb->taken->id]); @@ -4465,7 +4465,7 @@ void dvmCompilerMIR2LIR(CompilationUnit *cUnit) } } if (notHandled) { - LOGE("%#06x: Opcode %#x (%s) / Fmt %d not handled", + ALOGE("%#06x: Opcode %#x (%s) / Fmt %d not handled", mir->offset, dalvikOpcode, dexGetOpcodeName(dalvikOpcode), dalvikFormat); @@ -4549,7 +4549,7 @@ gen_fallthrough: chainingBlock->startOffset); break; default: - LOGE("Bad blocktype %d", chainingBlock->blockType); + ALOGE("Bad blocktype %d", chainingBlock->blockType); dvmCompilerAbort(cUnit); } } @@ -4620,7 +4620,7 @@ bool dvmCompilerDoWork(CompilerWorkOrder *work) break; default: isCompile = false; - LOGE("Jit: unknown work order type"); + ALOGE("Jit: unknown work order type"); assert(0); // Bail if debug build, discard otherwise } if (!success) @@ -4681,7 +4681,7 @@ bool dvmCompilerArchInit() for (i = 0; i < kArmLast; i++) { if (EncodingMap[i].opcode != i) { - LOGE("Encoding order for %s is wrong: expecting %d, seeing %d", + ALOGE("Encoding order for %s is wrong: expecting %d, seeing %d", EncodingMap[i].name, i, EncodingMap[i].opcode); dvmAbort(); // OK to dvmAbort - build error } |
