Mark extended type querying methods as 'readonly' to reduce compile size.
[oota-llvm.git] / include / llvm / CodeGen / MachineBlockFrequencyInfo.h
index 3d9d196a7538f040eb6161ee7f3541c4eb7531e9..a9c7bf7dbc60e4d5f410a0020b7c32ba7b0018c7 100644 (file)
@@ -48,7 +48,7 @@ public:
   /// that we should not rely on the value itself, but only on the comparison to
   /// the other block frequencies. We do this to avoid using of floating points.
   ///
-  BlockFrequency getBlockFreq(MachineBasicBlock *MBB) const;
+  BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
 };
 
 }