Reformat file.
[oota-llvm.git] / lib / CodeGen / SpillPlacement.h
index a0480d587d6c89a2a4bfc746f962990abde52a15..105516bb62b1d3b94342f6d7967e6b56db3a4671 100644 (file)
@@ -140,10 +140,8 @@ public:
 
   /// getBlockFrequency - Return the estimated block execution frequency per
   /// function invocation.
-  float getBlockFrequency(unsigned Number) const {
-    // FIXME: Return the BlockFrequency directly.
-    const float Scale = 1.0f / BlockFrequency::getEntryFrequency();
-    return BlockFrequencies[Number].getFrequency() * Scale;
+  BlockFrequency getBlockFrequency(unsigned Number) const {
+    return BlockFrequencies[Number];
   }
 
 private: