Instruction select globals with offsets better. For example, on this test
[oota-llvm.git] / lib / Support / Statistic.cpp
index 9589fd7ebd98469e5e0b6ca3d450b6d9aa507dc6..f4d9c7b9e248339b0500eb310948817ddec2d551 100644 (file)
@@ -21,8 +21,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "Support/Statistic.h"
-#include "Support/CommandLine.h"
+#include "llvm/ADT/Statistic.h"
+#include "llvm/Support/CommandLine.h"
 #include <sstream>
 #include <iostream>
 #include <algorithm>
@@ -43,7 +43,7 @@ struct StatRecord {
   std::string Value;
   const char *Name, *Desc;
 
-  StatRecord(const std::string V, const char *N, const char *D)
+  StatRecord(const std::string &V, const char *N, const char *D)
     : Value(V), Name(N), Desc(D) {}
 
   bool operator<(const StatRecord &SR) const {