Use const qualifiers with TargetLowering. This eliminates several
[oota-llvm.git] / lib / Target / XCore / XCoreISelDAGToDAG.cpp
index 1615547b4152f04120ebf0b17e1a7ae39bc46c29..5564ddf133eafd4f3f48b0204423693c87e6ddae 100644 (file)
@@ -12,7 +12,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "XCore.h"
-#include "XCoreISelLowering.h"
 #include "XCoreTargetMachine.h"
 #include "llvm/DerivedTypes.h"
 #include "llvm/Function.h"
@@ -40,7 +39,7 @@ using namespace llvm;
 ///
 namespace {
   class XCoreDAGToDAGISel : public SelectionDAGISel {
-    XCoreTargetLowering &Lowering;
+    const XCoreTargetLowering &Lowering;
     const XCoreSubtarget &Subtarget;
 
   public: