summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-06-13 03:30:47 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-06-13 03:30:47 +0000
commit6ae82a66acbb8f6b5aa1c0a1530f1709d0bc4813 (patch)
treeaae6e63a8122a86dd8bf09bec75462e8afa78bfb
parente014729d34f4f5cd436e096d0c74df058b98b6b3 (diff)
downloadbcm5719-llvm-6ae82a66acbb8f6b5aa1c0a1530f1709d0bc4813.tar.gz
bcm5719-llvm-6ae82a66acbb8f6b5aa1c0a1530f1709d0bc4813.zip
Interpreter: kill some dead code
Remove commented out code and an unnecessary associated scope. No functional change. llvm-svn: 210882
-rw-r--r--lldb/source/Interpreter/ScriptInterpreterPython.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
index b0a889e06a7..f7e9309ee6d 100644
--- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp
+++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp
@@ -1047,10 +1047,7 @@ ScriptInterpreterPython::ExecuteMultipleLines (const char *in_string, const Exec
PyCodeObject *compiled_code = PyNode_Compile (compiled_node, "temp.py");
if (compiled_code)
{
- { // scope for PythonInputReaderManager
- //PythonInputReaderManager py_input(options.GetEnableIO() ? this : NULL);
- return_value.Reset(PyEval_EvalCode (compiled_code, globals.get(), locals.get()));
- }
+ return_value.Reset(PyEval_EvalCode (compiled_code, globals.get(), locals.get()));
}
}
}
OpenPOWER on IntegriCloud