diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-06-04 19:56:57 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-06-04 19:56:57 +0000 |
commit | 175e52f57b7d6effa19b96b05c962c37a8759917 (patch) | |
tree | 3851a5005e59a898d60cb419232fff9da17825e6 /llvm/lib/CodeGen/SlotIndexes.cpp | |
parent | ff0aff3cafd89359ddf9ddab466646309cec0855 (diff) | |
download | bcm5719-llvm-175e52f57b7d6effa19b96b05c962c37a8759917.tar.gz bcm5719-llvm-175e52f57b7d6effa19b96b05c962c37a8759917.zip |
Refactor and generalize GetAddrOfConstantString and GetAddrOfConstantStringFromLiteral.
Share mode code between these functions and re-structure them in a way
which shows how similar they actually are. The latter function works well
with literals of multi-byte chars and does a GlobalVariable name mangling
(if global strings are non-writable).
No functionality change.
llvm-svn: 210212
Diffstat (limited to 'llvm/lib/CodeGen/SlotIndexes.cpp')
0 files changed, 0 insertions, 0 deletions