mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-24 18:38:50 +00:00
From Chris' review: change MemOperandSDNode's constructor to pass its
argument by reference, rather than by value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a089b10421
commit
f8df0ff9a5
@ -1425,7 +1425,7 @@ class MemOperandSDNode : public SDNode {
|
|||||||
protected:
|
protected:
|
||||||
friend class SelectionDAG;
|
friend class SelectionDAG;
|
||||||
/// Create a MemOperand node
|
/// Create a MemOperand node
|
||||||
explicit MemOperandSDNode(MemOperand mo)
|
explicit MemOperandSDNode(const MemOperand &mo)
|
||||||
: SDNode(ISD::MEMOPERAND, getSDVTList(MVT::Other)), MO(mo) {}
|
: SDNode(ISD::MEMOPERAND, getSDVTList(MVT::Other)), MO(mo) {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user