Index: src/scanner-character-streams.cc |
diff --git a/src/scanner-character-streams.cc b/src/scanner-character-streams.cc |
index 2c1ccea69e9e6001da407d37f30456f2cfa1d9ab..ee10703c9ef82d20b835ea182f9b755d3295797f 100644 |
--- a/src/scanner-character-streams.cc |
+++ b/src/scanner-character-streams.cc |
@@ -29,7 +29,6 @@ |
#include "scanner-character-streams.h" |
-#include "ast.h" |
#include "handles.h" |
#include "unicode-inl.h" |
@@ -305,24 +304,4 @@ ExternalTwoByteStringUC16CharacterStream |
pos_ = start_position; |
} |
- |
-// ---------------------------------------------------------------------------- |
-// Scanner::LiteralScope |
- |
-Scanner::LiteralScope::LiteralScope(Scanner* self) |
- : scanner_(self), complete_(false) { |
- self->StartLiteral(); |
-} |
- |
- |
-Scanner::LiteralScope::~LiteralScope() { |
- if (!complete_) scanner_->DropLiteral(); |
-} |
- |
- |
-void Scanner::LiteralScope::Complete() { |
- scanner_->TerminateLiteral(); |
- complete_ = true; |
-} |
- |
} } // namespace v8::internal |