commit | 02e210cad27e36108bef493b798c2c1eb3b04cb8 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Sat Sep 17 07:23:18 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Sat Sep 17 07:23:18 2011 +0000 |
tree | 6646942f53c0620ce542537cc918df791225bfae | |
parent | 6e0101c86555a06b3bd4cb6104b35abfae0b0057 [diff] [blame] |
Removed the function: ModuleSP Module::GetSP(); Since we are now using intrusive ref counts, we can easily turn any pointer to a module into a shared pointer just by assigning it. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139984 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectTarget.cpp b/source/Commands/CommandObjectTarget.cpp index 93ed631..dd5f166 100644 --- a/source/Commands/CommandObjectTarget.cpp +++ b/source/Commands/CommandObjectTarget.cpp
@@ -2725,7 +2725,7 @@ if (use_global_module_list) { module = Module::GetAllocatedModuleAtIndex(image_idx); - module_sp = module->GetSP(); + module_sp = module; } else {