From fc075c2d1ae63c26f96e0c6eeb72efc898dbebbf Mon Sep 17 00:00:00 2001 From: Ben Cheng Date: Fri, 28 May 2010 15:20:08 -0700 Subject: Clean up warnings detected by gcc. Also re-enabled the JIT for the ARMv5te target. Change-Id: I89fd229205e30e6ee92a4933290a7d8dca001232 --- vm/compiler/codegen/arm/CodegenCommon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vm/compiler/codegen/arm/CodegenCommon.c') diff --git a/vm/compiler/codegen/arm/CodegenCommon.c b/vm/compiler/codegen/arm/CodegenCommon.c index 0cec99df8..d8854ba4f 100644 --- a/vm/compiler/codegen/arm/CodegenCommon.c +++ b/vm/compiler/codegen/arm/CodegenCommon.c @@ -256,6 +256,7 @@ static ArmLIR *newLIR3(CompilationUnit *cUnit, ArmOpCode opCode, return insn; } +#if defined(_ARMV7_A) || defined(_ARMV7_A_NEON) static ArmLIR *newLIR4(CompilationUnit *cUnit, ArmOpCode opCode, int dest, int src1, int src2, int info) { @@ -271,6 +272,7 @@ static ArmLIR *newLIR4(CompilationUnit *cUnit, ArmOpCode opCode, dvmCompilerAppendLIR(cUnit, (LIR *) insn); return insn; } +#endif /* * If the next instruction is a move-result or move-result-long, -- cgit v1.2.3