summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SlotIndexes.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-06-04 19:56:57 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-06-04 19:56:57 +0000
commit175e52f57b7d6effa19b96b05c962c37a8759917 (patch)
tree3851a5005e59a898d60cb419232fff9da17825e6 /llvm/lib/CodeGen/SlotIndexes.cpp
parentff0aff3cafd89359ddf9ddab466646309cec0855 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud