[Lldb-commits] [lldb] r210882 - Interpreter: kill some dead code
Saleem Abdulrasool
compnerd at compnerd.org
Thu Jun 12 20:30:47 PDT 2014
Author: compnerd
Date: Thu Jun 12 22:30:47 2014
New Revision: 210882
URL: http://llvm.org/viewvc/llvm-project?rev=210882&view=rev
Log:
Interpreter: kill some dead code
Remove commented out code and an unnecessary associated scope. No functional
change.
Modified:
lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp
Modified: lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp?rev=210882&r1=210881&r2=210882&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp (original)
+++ lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp Thu Jun 12 22:30:47 2014
@@ -1047,10 +1047,7 @@ ScriptInterpreterPython::ExecuteMultiple
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()));
}
}
}
More information about the lldb-commits
mailing list