Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 799ec5860d55bbc89f69d0b61c0bfc4990a2fe52..4bdf65957d57b6d70dfd63aabf4912154905baca 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -704,16 +704,6 @@ class Parser : public ParserBase<ParserTraits> { |
bool CheckInOrOf(bool accept_OF, ForEachStatement::VisitMode* visit_mode); |
- Handle<String> LiteralString(PretenureFlag tenured) { |
- if (scanner()->is_literal_ascii()) { |
- return isolate_->factory()->NewStringFromAscii( |
- scanner()->literal_ascii_string(), tenured); |
- } else { |
- return isolate_->factory()->NewStringFromTwoByte( |
- scanner()->literal_utf16_string(), tenured); |
- } |
- } |
- |
// Get odd-ball literals. |
Literal* GetLiteralUndefined(int position); |