aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenCommon.c
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2010-11-19 16:01:25 -0800
committerDan Bornstein <danfuzz@android.com>2010-11-19 16:01:25 -0800
commit675b642510ed79e8a7a3f23126dfac7679fd65b9 (patch)
tree0ecf7fac3fa2d845e3c967e7ca9444d358c11bea /vm/compiler/codegen/arm/CodegenCommon.c
parent82901ca4f92ec9e4c47089395a395a619086deb5 (diff)
Say kNumDalvikInstructions when appropriate.
In particular, use it instead of just saying 256, and similarly for 255. The number of opcodes will be changing soon. Change-Id: Icc77120c2673968dddd6b4003f717245d46e4159
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenCommon.c')
-rw-r--r--vm/compiler/codegen/arm/CodegenCommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/compiler/codegen/arm/CodegenCommon.c b/vm/compiler/codegen/arm/CodegenCommon.c
index ee5d9f5dd..d14dd0640 100644
--- a/vm/compiler/codegen/arm/CodegenCommon.c
+++ b/vm/compiler/codegen/arm/CodegenCommon.c
@@ -30,7 +30,7 @@
static intptr_t templateEntryOffsets[TEMPLATE_LAST_MARK];
/* Track exercised opcodes */
-static int opcodeCoverage[256];
+static int opcodeCoverage[kNumDalvikInstructions];
static void setMemRefType(ArmLIR *lir, bool isLoad, int memType)
{