aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2015-06-24 00:05:07 +0000
committerPete Cooper <peter_cooper@apple.com>2015-06-24 00:05:07 +0000
commita272f7fca97f5873f26f8d14e5fa2cc328d500d5 (patch)
treebac226cee3cf5a3ecbecc0ddf99e519160a877e4 /llvm/lib/Object/MachOObjectFile.cpp
parent89ae9a1e28c7c8a01f876749272890cd714cda05 (diff)
downloadllvm-a272f7fca97f5873f26f8d14e5fa2cc328d500d5.zip
llvm-a272f7fca97f5873f26f8d14e5fa2cc328d500d5.tar.gz
llvm-a272f7fca97f5873f26f8d14e5fa2cc328d500d5.tar.bz2
Remove unused GlobalVariable::replaceUsesOfWithOnConstant. NFC.
The only caller of this method is Value::replaceAllUsesWith which explicitly checks that we are not a GlobalValue. So replace the body with an unreachable to ensure that we never call it. The unreachable itself is moved to GlobalValue not GlobalVariable as that is the base class of all the globals we don't want to call this method on. Note, this patch is short lived as i'll soon refactor all callers of this method. llvm-svn: 240486
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions