Replace the vestigial Value::GetOpaqueCLangQualType with the more correct Value::GetValueOpaqueClangQualType.
But mostly, move the ObjC Trampoline handling code from the MacOSX dyld plugin to the AppleObjCRuntime classes.
llvm-svn: 114935
diff --git a/lldb/source/Core/Value.cpp b/lldb/source/Core/Value.cpp
index 6105080..8ccb67c 100644
--- a/lldb/source/Core/Value.cpp
+++ b/lldb/source/Core/Value.cpp
@@ -206,18 +206,6 @@
Value::GetContextTypeAsCString(m_context_type));
}
-void *
-Value::GetOpaqueClangQualType()
-{
- if (m_context_type == eContextTypeValue)
- return ((Value*)m_context)->GetOpaqueClangQualType ();
-
- if (m_context_type == eContextTypeOpaqueClangQualType)
- return m_context;
-
- return NULL;
-}
-
Value::ValueType
Value::GetValueType() const
{
@@ -429,10 +417,10 @@
}
void *
-Value::GetValueOpaqueClangQualType ()
+Value::GetOpaqueClangQualType ()
{
if (m_context_type == eContextTypeValue)
- return ((Value*)m_context)->GetValueOpaqueClangQualType();
+ return ((Value*)m_context)->GetOpaqueClangQualType();
switch (m_context_type)
{