Chromium Code Reviews| Index: src/arm/assembler-arm.h |
| =================================================================== |
| --- src/arm/assembler-arm.h (revision 4877) |
| +++ src/arm/assembler-arm.h (working copy) |
| @@ -279,7 +279,10 @@ |
| // Returns the equivalent of !cc. |
| -INLINE(Condition NegateCondition(Condition cc)); |
| +inline Condition NegateCondition(Condition cc) { |
| + ASSERT(cc != al); |
| + return static_cast<Condition>(cc ^ ne); |
| +} |
| // Corresponds to transposing the operands of a comparison. |