Using proper Objective-C types doesn't seem to

make the sky fall.

llvm-svn: 117767
This commit is contained in:
Sean Callanan 2010-10-30 01:46:19 +00:00
parent 7b275105d6
commit 0d546439b9
1 changed files with 0 additions and 9 deletions

View File

@ -87,15 +87,6 @@ AppleObjCRuntimeV2::GetObjectDescription (Stream &str, Value &value, ExecutionCo
str.Printf ("Value doesn't point to an ObjC object.\n");
return false;
}
// FIXME: If we use the real types here then we end up crashing in the expression parser.
// For now, forcing this to be a generic pointer makes it work...
#if 1
ClangASTContext *ast_context = exe_ctx.target->GetScratchClangASTContext();
if (value.GetContextType() == Value::eContextTypeOpaqueClangQualType)
{
value.SetContext(Value::eContextTypeOpaqueClangQualType, ast_context->GetVoidPtrType(false));
}
#endif
}
else
{