Index: src/arm/constants-arm.h |
diff --git a/src/arm/constants-arm.h b/src/arm/constants-arm.h |
index 5aadc3caeb413bcb6bdcebc874514546f23a867e..96bbf9b701677daeab1cc5d5322900887389aa2c 100644 |
--- a/src/arm/constants-arm.h |
+++ b/src/arm/constants-arm.h |
@@ -691,6 +691,9 @@ class Instruction { |
&& (Bit(20) == 0) |
&& ((Bit(7) == 0)); } |
+ // Test for a nop instruction, which falls under type 1. |
+ inline bool IsNopType1() const { return Bits(24, 0) == 0x0120F000; } |
+ |
// Test for a stop instruction. |
inline bool IsStop() const { |
return (TypeValue() == 7) && (Bit(24) == 1) && (SvcValue() >= kStopCode); |