[Lldb-commits] [lldb] r190085 - Remove commented out routines.

Jim Ingham jingham at apple.com
Thu Sep 5 12:01:20 PDT 2013


Author: jingham
Date: Thu Sep  5 14:01:20 2013
New Revision: 190085

URL: http://llvm.org/viewvc/llvm-project?rev=190085&view=rev
Log:
Remove commented out routines.

Modified:
    lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp

Modified: lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp?rev=190085&r1=190084&r2=190085&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp Thu Sep  5 14:01:20 2013
@@ -173,39 +173,6 @@ AppleObjCRuntimeV1::CreateObjectChecker(
     return new ClangUtilityFunction(buf->contents, name);
 }
 
-// this code relies on the assumption that an Objective-C object always starts
-// with an ISA at offset 0.
-//ObjCLanguageRuntime::ObjCISA
-//AppleObjCRuntimeV1::GetISA(ValueObject& valobj)
-//{
-//    ClangASTType valobj_clang_type = valobj.GetClangType();
-////    if (valobj_clang_type.GetMinimumLanguage() != eLanguageTypeObjC)
-////        return 0;
-//    
-//    // if we get an invalid VO (which might still happen when playing around
-//    // with pointers returned by the expression parser, don't consider this
-//    // a valid ObjC object)
-//    if (!valobj.GetClangType().IsValid())
-//        return 0;
-//    
-//    addr_t isa_pointer = valobj.GetPointerValue();
-//    
-//    ExecutionContext exe_ctx (valobj.GetExecutionContextRef());
-//    
-//    Process *process = exe_ctx.GetProcessPtr();
-//    if (process)
-//    {
-//        uint8_t pointer_size = process->GetAddressByteSize();
-//        
-//        Error error;
-//        return process->ReadUnsignedIntegerFromMemory (isa_pointer,
-//                                                       pointer_size,
-//                                                       0,
-//                                                       error);
-//    }
-//    return 0;
-//}
-
 AppleObjCRuntimeV1::ClassDescriptorV1::ClassDescriptorV1 (ValueObject &isa_pointer)
 {
     Initialize (isa_pointer.GetValueAsUnsigned(0),





More information about the lldb-commits mailing list