diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-03-20 06:08:36 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-03-20 06:08:36 +0000 |
commit | a68f7b67f173abecc0ebaefa63dde9a93e78137e (patch) | |
tree | dcb100b47b23e45aa6781caa5410cbda22ead338 /lldb/source/Expression/IRForTarget.cpp | |
parent | 2643b9053e2fff0247fb57716f20a00ca5b1abe9 (diff) | |
download | bcm5719-llvm-a68f7b67f173abecc0ebaefa63dde9a93e78137e.tar.gz bcm5719-llvm-a68f7b67f173abecc0ebaefa63dde9a93e78137e.zip |
cleanup unreferenced functions
This is a mechanical cleanup of unused functions. In the case where the
functions are referenced (in comment form), I've simply commented out the
functions. A second pass to clean that up is warranted.
The functions which are otherwise unused have been removed. Some of these were
introduced in the initial commit and not in use prior to that point!
NFC
llvm-svn: 204310
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
-rw-r--r-- | lldb/source/Expression/IRForTarget.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp index 14cb237f5a6..5e117268622 100644 --- a/lldb/source/Expression/IRForTarget.cpp +++ b/lldb/source/Expression/IRForTarget.cpp @@ -687,27 +687,6 @@ IRForTarget::CreateResultVariable (llvm::Function &llvm_function) return true; } -static void DebugUsers(lldb_private::Log *log, Value *value, uint8_t depth) -{ - if (!depth) - return; - - depth--; - - if (log) - log->Printf(" <Begin %d users>", value->getNumUses()); - - for (llvm::User *u : value->users()) - { - if (log) - log->Printf(" <Use %p> %s", u, PrintValue(u).c_str()); - DebugUsers(log, u, depth); - } - - if (log) - log->Printf(" <End uses>"); -} - bool IRForTarget::RewriteObjCConstString (llvm::GlobalVariable *ns_str, llvm::GlobalVariable *cstr) |