summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands')
-rw-r--r--lldb/source/Commands/CommandObjectArgs.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/lldb/source/Commands/CommandObjectArgs.cpp b/lldb/source/Commands/CommandObjectArgs.cpp
index 896a058a1c0..6075e10ca58 100644
--- a/lldb/source/Commands/CommandObjectArgs.cpp
+++ b/lldb/source/Commands/CommandObjectArgs.cpp
@@ -156,15 +156,7 @@ CommandObjectArgs::Execute
return false;
}
- TypeList *thread_type_list = thread_module->GetTypeList ();
- if (!thread_type_list)
- {
- result.AppendError ("The module has no type list.");
- result.SetStatus (eReturnStatusFailed);
- return false;
- }
-
- ClangASTContext &ast_context = thread_type_list->GetClangASTContext();
+ ClangASTContext &ast_context = thread_module->GetClangASTContext();
ValueList value_list;
OpenPOWER on IntegriCloud