[llvm-commits] [llvm] r46960 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Dan Gohman
gohman at apple.com
Mon Feb 11 10:57:03 PST 2008
Author: djg
Date: Mon Feb 11 12:56:50 2008
New Revision: 46960
URL: http://llvm.org/viewvc/llvm-project?rev=46960&view=rev
Log:
>From Chris' review: change MemOperandSDNode's constructor to pass its
argument by reference, rather than by value.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=46960&r1=46959&r2=46960&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Mon Feb 11 12:56:50 2008
@@ -1425,7 +1425,7 @@
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:
More information about the llvm-commits
mailing list