From Chris' review: change MemOperandSDNode's constructor to pass its
[oota-llvm.git] / include / llvm / CodeGen / SelectionDAGNodes.h
index 43d22a402c56ea30e97fbe708926a4785770be61..4117552b52ff1c8e2596a51fe61eaca28d30b032 100644 (file)
@@ -1425,7 +1425,7 @@ class MemOperandSDNode : public SDNode {
 protected:
   friend class SelectionDAG;
   /// Create a MemOperand node
-  explicit MemOperandSDNode(MemOperand mo)
+  explicit MemOperandSDNode(const MemOperand &mo)
     : SDNode(ISD::MEMOPERAND, getSDVTList(MVT::Other)), MO(mo) {}
 
 public: