Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: src/d8.cc

Issue 9455088: Remove static initializers in v8. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Lint. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698