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/CalloutHelper.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/CalloutHelper.h')
| -rw-r--r-- | vm/compiler/codegen/arm/CalloutHelper.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/vm/compiler/codegen/arm/CalloutHelper.h b/vm/compiler/codegen/arm/CalloutHelper.h index f6d5f4efc..d6eb421c9 100644 --- a/vm/compiler/codegen/arm/CalloutHelper.h +++ b/vm/compiler/codegen/arm/CalloutHelper.h @@ -80,9 +80,12 @@ ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, // OP_NEW_ARRAY bool dvmInterpHandleFillArrayData(ArrayObject* arrayObject,// OP_FILL_ARRAY_DATA const u2* arrayData); -/* Switch dispatch offset calculation for OP_PACKED_SWITCH & OP_SPARSE_SWITCH */ -static s8 findPackedSwitchIndex(const u2* switchData, int testVal, int pc); -static s8 findSparseSwitchIndex(const u2* switchData, int testVal, int pc); +/* + * Switch dispatch offset calculation for OP_PACKED_SWITCH & OP_SPARSE_SWITCH + * Used in CodegenDriver.c + * static s8 findPackedSwitchIndex(const u2* switchData, int testVal, int pc); + * static s8 findSparseSwitchIndex(const u2* switchData, int testVal, int pc); + */ /* * Resolve interface callsites - OP_INVOKE_INTERFACE & OP_INVOKE_INTERFACE_RANGE |
