From: Dan Gohman Date: Thu, 21 Aug 2008 16:02:46 +0000 (+0000) Subject: Make HandleSDNode::getValue return an SDValue instead of X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ec20183c35f1a8d308b619dbe580d0ed0db21d12;p=oota-llvm.git 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 --- diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index c045ffe7161..63edd7cef9f 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -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