Chromium Code Reviews| Index: src/arm/constants-arm.h |
| =================================================================== |
| --- src/arm/constants-arm.h (revision 13713) |
| +++ src/arm/constants-arm.h (working copy) |
| @@ -708,6 +708,13 @@ |
| return (TypeValue() == 7) && (Bit(24) == 1) && (SvcValue() >= kStopCode); |
| } |
| + // Test for a pld instruction |
| + inline bool IsPld() const { return (Bits(31, 28) == 15) |
|
danno
2013/02/28 07:06:32
nit: formatting, please don't put code on the line
|
| + && (Bits(27, 26) == 1) |
| + && (Bit(24) == 1) |
| + && (Bits(22, 20) == 5) |
| + && (Bits(15, 12) == 15); } |
|
danno
2013/02/28 07:06:32
} on next line by itself.
rkrithiv
2013/04/05 00:16:53
Done.
|
| + |
| // Special accessors that test for existence of a value. |
| inline bool HasS() const { return SValue() == 1; } |
| inline bool HasB() const { return BValue() == 1; } |