cpu: Add a pointer to a generic Nop StaticInst.
[gem5.git] / src / cpu / static_inst.hh
index a4077e1d08e028915c271799b697cd7ef57f7bc0..79f45d8282088f533785370770efd36a81efbfa4 100644 (file)
@@ -205,6 +205,9 @@ class StaticInst : public RefCounted, public StaticInstFlags
     /// Pointer to a statically allocated "null" instruction object.
     static StaticInstPtr nullStaticInstPtr;
 
+    /// Pointer to a statically allocated generic "nop" instruction object.
+    static StaticInstPtr nopStaticInstPtr;
+
     /// The binary machine instruction.
     const ExtMachInst machInst;