summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/arm/MethodCodegenDriver.cc
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2011-12-01 17:31:10 -0800
committer Elliott Hughes <enh@google.com> 2011-12-01 17:31:10 -0800
commitc1f143de3d0370a17a4561eb83bf10a5d7908aa3 (patch)
treea4839595b944473d3bd2c06e83dcb276a460de2f /src/compiler/codegen/arm/MethodCodegenDriver.cc
parentc5b734a27a64c81590015dd12a7901c396818a99 (diff)
Remove some lint.
Change-Id: Ieecd7c10e62bce27e2db38f96d5df9782ef0cff6
Diffstat (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc')
-rw-r--r--src/compiler/codegen/arm/MethodCodegenDriver.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/codegen/arm/MethodCodegenDriver.cc b/src/compiler/codegen/arm/MethodCodegenDriver.cc
index 7a719f799e..15fd1ba841 100644
--- a/src/compiler/codegen/arm/MethodCodegenDriver.cc
+++ b/src/compiler/codegen/arm/MethodCodegenDriver.cc
@@ -1822,7 +1822,7 @@ STATIC bool compileDalvikInstruction(CompilationUnit* cUnit, MIR* mir,
return res;
}
-STATIC const char *extendedMIROpNames[kMirOpLast - kMirOpFirst] = {
+STATIC const char* extendedMIROpNames[kMirOpLast - kMirOpFirst] = {
"kMirOpPhi",
"kMirOpNullNRangeUpCheck",
"kMirOpNullNRangeDownCheck",
@@ -2031,7 +2031,7 @@ STATIC bool methodBlockCodeGen(CompilationUnit* cUnit, BasicBlock* bb)
/* Don't generate the SSA annotation unless verbose mode is on */
if (cUnit->printMe && mir->ssaRep) {
- char *ssaString = oatGetSSAString(cUnit, mir->ssaRep);
+ char* ssaString = oatGetSSAString(cUnit, mir->ssaRep);
newLIR1(cUnit, kArmPseudoSSARep, (int) ssaString);
}