[Gardening] Remove dead code from ScriptInterpreterPython (NFC)

The terminal state is never saved or restored.

llvm-svn: 367977
This commit is contained in:
Jonas Devlieghere
2019-08-06 04:45:59 +00:00
parent 3c3dce2545
commit ea1752a79a
2 changed files with 3 additions and 24 deletions

View File

@@ -347,10 +347,6 @@ public:
void LeaveSession();
void SaveTerminalState(int fd);
void RestoreTerminalState();
uint32_t IsExecutingPython() const { return m_lock_count > 0; }
uint32_t IncrementLockCount() { return ++m_lock_count; }
@@ -387,7 +383,6 @@ public:
PythonObject m_run_one_line_function;
PythonObject m_run_one_line_str_global;
std::string m_dictionary_name;
TerminalState m_terminal_state;
ActiveIOHandler m_active_io_handler;
bool m_session_is_active;
bool m_pty_slave_is_open;