Make HandleSDNode::getValue return an SDValue instead of

the full SDUse, which isn't needed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55121 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-08-21 16:02:46 +00:00
parent ed3e8b4ed2
commit ec20183c35

View File

@ -1453,7 +1453,7 @@ public:
InitOperands(&Op, 1);
}
~HandleSDNode();
SDUse getValue() const { return Op; }
const SDValue &getValue() const { return Op.getSDValue(); }
};
/// Abstact virtual class for operations for memory operations