diff options
| author | Ben Cheng <bccheng@android.com> | 2010-05-28 15:20:08 -0700 |
|---|---|---|
| committer | Ben Cheng <bccheng@android.com> | 2010-05-28 15:20:08 -0700 |
| commit | fc075c2d1ae63c26f96e0c6eeb72efc898dbebbf (patch) | |
| tree | 0fc6f08de044cb9347ab69b884d57411f8f4d46a /vm/compiler/codegen/arm/Codegen.h | |
| parent | b89bd11119b9981f4e5e4db840e580bb228f290c (diff) | |
Clean up warnings detected by gcc.
Also re-enabled the JIT for the ARMv5te target.
Change-Id: I89fd229205e30e6ee92a4933290a7d8dca001232
Diffstat (limited to 'vm/compiler/codegen/arm/Codegen.h')
| -rw-r--r-- | vm/compiler/codegen/arm/Codegen.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vm/compiler/codegen/arm/Codegen.h b/vm/compiler/codegen/arm/Codegen.h index da65bb5d3..ca0a843be 100644 --- a/vm/compiler/codegen/arm/Codegen.h +++ b/vm/compiler/codegen/arm/Codegen.h @@ -25,6 +25,7 @@ #include "compiler/CompilerIR.h" #include "CalloutHelper.h" +#if defined(_CODEGEN_C) /* * loadConstant() sometimes needs to add a small imm to a pre-existing constant */ @@ -44,10 +45,16 @@ static bool genArithOpDoublePortable(CompilationUnit *cUnit, MIR *mir, static bool genConversionPortable(CompilationUnit *cUnit, MIR *mir); +#if defined(WITH_DEADLOCK_PREDICTION) || defined(WITH_MONITOR_TRACKING) || \ + defined(__ARM_ARCH_5__) static void genMonitorPortable(CompilationUnit *cUnit, MIR *mir); +#endif static void genInterpSingleStep(CompilationUnit *cUnit, MIR *mir); +#endif + + #if defined(WITH_SELF_VERIFICATION) /* Self Verification memory instruction decoder */ void dvmSelfVerificationMemOpDecode(int lr, int* sp); |
