summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-09-05 19:01:20 +0000
committerJim Ingham <jingham@apple.com>2013-09-05 19:01:20 +0000
commita8a15ed22ac850bd13cd5f4bd3174c57899d2d6e (patch)
tree0f90df1602328b9d85df257df96f8a86d6fc9808
parentf0649a6c0e0f229322c965da5d1b676f572ad04b (diff)
downloadbcm5719-llvm-a8a15ed22ac850bd13cd5f4bd3174c57899d2d6e.tar.gz
bcm5719-llvm-a8a15ed22ac850bd13cd5f4bd3174c57899d2d6e.zip
Remove commented out routines.
llvm-svn: 190085
-rw-r--r--lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp
index 16ffe0b042a..14d087a3244 100644
--- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp
@@ -173,39 +173,6 @@ AppleObjCRuntimeV1::CreateObjectChecker(const char *name)
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),
OpenPOWER on IntegriCloud