summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Debugger.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2015-10-21 19:14:33 +0000
committerSean Callanan <scallanan@apple.com>2015-10-21 19:14:33 +0000
commit93c0b003805f40081edba82fbd9e9375c880a1e2 (patch)
tree7255d528c8b17ffb4a39a08d029c48c075683be6 /lldb/source/Core/Debugger.cpp
parent654aaf12dc319ea4b6fc82123d903e6d0c49984b (diff)
downloadbcm5719-llvm-93c0b003805f40081edba82fbd9e9375c880a1e2.tar.gz
bcm5719-llvm-93c0b003805f40081edba82fbd9e9375c880a1e2.zip
Fixed version of r250913, which actually implements all the static functions.
Thanks to Siva Chandra and Oleksiy Vyalov for pouncing on this. llvm-svn: 250928
Diffstat (limited to 'lldb/source/Core/Debugger.cpp')
-rw-r--r--lldb/source/Core/Debugger.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp
index 8619b50b2a3..494b762e872 100644
--- a/lldb/source/Core/Debugger.cpp
+++ b/lldb/source/Core/Debugger.cpp
@@ -1805,11 +1805,6 @@ Debugger::RunREPL (LanguageType language, const char *repl_options)
{
Error err;
FileSpec repl_executable;
- if (language == eLanguageTypeUnknown)
- {
- err.SetErrorString ("must specify a language for a REPL"); // TODO make it possible to specify a default language
- return err;
- }
Target *const target = nullptr; // passing in an empty target means the REPL must create one
OpenPOWER on IntegriCloud