diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-16 18:04:31 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-16 18:04:31 +0000 |
commit | 20b34ac794d15256953f5807c4cbe2cbe16ae5e6 (patch) | |
tree | 38ac5c7c3e222e1ccb694083c6ddec81ca81b231 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | ca75db7c02c7c452cde8c8f56c898dff1c1b3e95 (diff) | |
download | bcm5719-llvm-20b34ac794d15256953f5807c4cbe2cbe16ae5e6.tar.gz bcm5719-llvm-20b34ac794d15256953f5807c4cbe2cbe16ae5e6.zip |
Move the ConstantInt uniquing table into LLVMContextImpl. This exposed a number of issues in
our current context-passing stuff, which is also fixed here
llvm-svn: 76089
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index caa3ce1857b..4491eb262b9 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -874,7 +874,7 @@ SDValue SelectionDAG::getConstant(uint64_t Val, MVT VT, bool isT) { } SDValue SelectionDAG::getConstant(const APInt &Val, MVT VT, bool isT) { - return getConstant(*ConstantInt::get(Val), VT, isT); + return getConstant(*Context->getConstantInt(Val), VT, isT); } SDValue SelectionDAG::getConstant(const ConstantInt &Val, MVT VT, bool isT) { |