diff options
| author | Ben Cheng <bccheng@google.com> | 2013-07-29 20:29:27 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-07-29 20:29:28 +0000 |
| commit | 73a0943392a2927dae96195f5293940877f11c05 (patch) | |
| tree | 08cbb05249c767bbddeb8fcff6fef93b68c421cd /vm/compiler | |
| parent | 4550b42e776ecfe26b0b5538d14a4d57342b5ce0 (diff) | |
| parent | 68e74fda779ca28ecb2b3af10d5193691603b3d0 (diff) | |
| download | android_dalvik-73a0943392a2927dae96195f5293940877f11c05.tar.gz android_dalvik-73a0943392a2927dae96195f5293940877f11c05.tar.bz2 android_dalvik-73a0943392a2927dae96195f5293940877f11c05.zip | |
Merge "Minor code cleanup to address warnings found by Clang."
Diffstat (limited to 'vm/compiler')
| -rw-r--r-- | vm/compiler/Loop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/compiler/Loop.cpp b/vm/compiler/Loop.cpp index f82668628..dc04a1135 100644 --- a/vm/compiler/Loop.cpp +++ b/vm/compiler/Loop.cpp @@ -352,7 +352,7 @@ static bool doLoopBodyCodeMotion(CompilationUnit *cUnit) dvmCompilerDataFlowAttributes[mir->dalvikInsn.opcode]; /* Skip extended MIR instructions */ - if (dInsn->opcode >= kNumPackedOpcodes) continue; + if ((u2) dInsn->opcode >= kNumPackedOpcodes) continue; int instrFlags = dexGetFlagsFromOpcode(dInsn->opcode); |
