aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-03-12 13:54:59 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-03-12 13:54:59 +0000
commit018cbd5ddf11a0bbab48cc2a374148bdfce9a9e2 (patch)
tree6b4654e47c29eb100660e0066df3e44f64d61b10 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parentbb2f0c541c1bcf05131b66e4aa036229fc5f068b (diff)
Use StringRef::substr instead of std::string::substr to avoid using a free'd
string temporary. This should fix PR6590. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions