summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit825081063e3d8bfadc6f8dd33792ff5a0064b5ed (patch)
tree1e1cd536fae5d15ec82c5deea68714e3edc14395 /llvm
parentf3e13bbd4dd3b9bd501b448b7e5762f05c875071 (diff)
downloadbcm5719-llvm-825081063e3d8bfadc6f8dd33792ff5a0064b5ed.tar.gz
bcm5719-llvm-825081063e3d8bfadc6f8dd33792ff5a0064b5ed.zip
Make HandleSDNode::getValue return an SDValue instead of
the full SDUse, which isn't needed. llvm-svn: 55121
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/SelectionDAGNodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
index c045ffe7161..63edd7cef9f 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/llvm/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
OpenPOWER on IntegriCloud