diff options
| author | Dan Bornstein <danfuzz@android.com> | 2010-11-19 16:01:25 -0800 |
|---|---|---|
| committer | Dan Bornstein <danfuzz@android.com> | 2010-11-19 16:01:25 -0800 |
| commit | 675b642510ed79e8a7a3f23126dfac7679fd65b9 (patch) | |
| tree | 0ecf7fac3fa2d845e3c967e7ca9444d358c11bea /vm/compiler/codegen/arm/CodegenCommon.c | |
| parent | 82901ca4f92ec9e4c47089395a395a619086deb5 (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.c | 2 |
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) { |
