diff options
author | Jim Ingham <jingham@apple.com> | 2010-09-28 01:25:32 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2010-09-28 01:25:32 +0000 |
commit | 5a369128f66b30f8ce003c641dc40be0e87c09ca (patch) | |
tree | 8ad8a725e41d77a94fc92b8ec66cd91dfa056560 /lldb/source/Core/Value.cpp | |
parent | 7990df1ae259f218e1bcdfce24ecc932697cf061 (diff) | |
download | bcm5719-llvm-5a369128f66b30f8ce003c641dc40be0e87c09ca.tar.gz bcm5719-llvm-5a369128f66b30f8ce003c641dc40be0e87c09ca.zip |
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
Diffstat (limited to 'lldb/source/Core/Value.cpp')
-rw-r--r-- | lldb/source/Core/Value.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/lldb/source/Core/Value.cpp b/lldb/source/Core/Value.cpp index 6105080e27c..8ccb67c620e 100644 --- a/lldb/source/Core/Value.cpp +++ b/lldb/source/Core/Value.cpp @@ -206,18 +206,6 @@ Value::Dump (Stream* strm) 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 @@ Value::GetValueByteSize (clang::ASTContext *ast_context, Error *error_ptr) } void * -Value::GetValueOpaqueClangQualType () +Value::GetOpaqueClangQualType () { if (m_context_type == eContextTypeValue) - return ((Value*)m_context)->GetValueOpaqueClangQualType(); + return ((Value*)m_context)->GetOpaqueClangQualType(); switch (m_context_type) { |