aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-21 16:02:46 +0000
committerDan Gohman <gohman@apple.com>2008-08-21 16:02:46 +0000
commitec20183c35f1a8d308b619dbe580d0ed0db21d12 (patch)
tree6eaf350bf30d3b62e520b49a3219c1d79f3c5ddb /include
parented3e8b4ed2a3ab44d316e16a54d963f8927c6783 (diff)
downloadexternal_llvm-ec20183c35f1a8d308b619dbe580d0ed0db21d12.zip
external_llvm-ec20183c35f1a8d308b619dbe580d0ed0db21d12.tar.gz
external_llvm-ec20183c35f1a8d308b619dbe580d0ed0db21d12.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index c045ffe..63edd7c 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