[Target] Remove Process::GetObjCLanguageRuntime
Summary:
In an effort to make Process more language agnostic, I removed
GetCPPLanguageRuntime from Process. I'm following up now with an equivalent
change for ObjC.
Differential Revision: https://reviews.llvm.org/D63052
llvm-svn: 362981
diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp
index e083b8d..409f3d6 100644
--- a/lldb/source/Core/ValueObject.cpp
+++ b/lldb/source/Core/ValueObject.cpp
@@ -302,7 +302,7 @@
if (process_sp) {
ObjCLanguageRuntime *objc_language_runtime(
- process_sp->GetObjCLanguageRuntime());
+ ObjCLanguageRuntime::Get(*process_sp));
if (objc_language_runtime) {
TypeSP complete_objc_class_type_sp =
@@ -1699,7 +1699,7 @@
LanguageRuntime *runtime =
process->GetLanguageRuntime(GetObjectRuntimeLanguage());
if (!runtime)
- runtime = process->GetObjCLanguageRuntime();
+ runtime = ObjCLanguageRuntime::Get(*process);
if (runtime)
return runtime->IsRuntimeSupportValue(*this);
// If there is no language runtime, trust the compiler to mark all
@@ -3399,4 +3399,3 @@
return m_root_valobj_sp->GetFrameSP();
return lldb::StackFrameSP();
}
-