From ec20183c35f1a8d308b619dbe580d0ed0db21d12 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 21 Aug 2008 16:02:46 +0000 Subject: [PATCH] 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 --- include/llvm/CodeGen/SelectionDAGNodes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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