diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-05-06 19:52:19 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-05-06 19:52:19 +0000 |
commit | d5a7bfc51dfc951e72a187ba7d24ec3e6fdb6e6f (patch) | |
tree | 2a6e9e1baa2ea2fcf5514d9f31a80bd88cbc49d1 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 69f8514cb79a5a9f89a7a01c8ab9eb8f855fdeee (diff) | |
download | bcm5719-llvm-d5a7bfc51dfc951e72a187ba7d24ec3e6fdb6e6f.tar.gz bcm5719-llvm-d5a7bfc51dfc951e72a187ba7d24ec3e6fdb6e6f.zip |
ScopInfo: Do not return reference to member variable 'domain'.
Instead of returning a pointer to the domain, we return a new copy of it. This
is safer, as we do not give access to internal objects. It is also not
expensive, as isl will just increment a reference counter.
llvm-svn: 131010
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions