ARM: Fix a memory leak with the table walker.
[gem5.git] / src / arch / arm / types.hh
index 9e7c0ff7f030d641ab74c65cc17976a103668e87..15f9f4d0af3b86f3b225834669028c66549cf2ec 100644 (file)
@@ -433,6 +433,12 @@ namespace ArmISA
                 _itstate == opc._itstate && _nextItstate == opc._nextItstate;
         }
 
+        bool
+        operator != (const PCState &opc) const
+        {
+            return !(*this == opc);
+        }
+
         void
         serialize(std::ostream &os)
         {