Chromium Code Reviews| Index: src/d8.cc |
| diff --git a/src/d8.cc b/src/d8.cc |
| index ad35af6c22dac30053251006ed8f9559ec2052af..bf0f1757528ab36040ec432e69f71aff095a082c 100644 |
| --- a/src/d8.cc |
| +++ b/src/d8.cc |
| @@ -89,22 +89,6 @@ LineEditor* LineEditor::Get() { |
| } |
| -class DumbLineEditor: public LineEditor { |
| - public: |
| - DumbLineEditor() : LineEditor(LineEditor::DUMB, "dumb") { } |
|
Philippe
2012/02/29 10:24:45
I didn't notice the side effect in LineEditor's co
|
| - virtual Handle<String> Prompt(const char* prompt); |
| -}; |
| - |
| - |
| -static DumbLineEditor dumb_line_editor; |
| - |
| - |
| -Handle<String> DumbLineEditor::Prompt(const char* prompt) { |
| - printf("%s", prompt); |
| - return Shell::ReadFromStdin(); |
| -} |
| - |
| - |
| #ifndef V8_SHARED |
| CounterMap* Shell::counter_map_; |
| i::OS::MemoryMappedFile* Shell::counters_file_ = NULL; |