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

Unified Diff: src/scanner.h

Issue 345513003: Revert "Parser: Delay internalizing strings and values." (r21841) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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
« no previous file with comments | « src/rewriter.cc ('k') | src/scanner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scanner.h
diff --git a/src/scanner.h b/src/scanner.h
index 7d8b2ab4f222a428559b340f0cac1d16c872f714..2979082e3f152623527df8a69a4b2d177f592323 100644
--- a/src/scanner.h
+++ b/src/scanner.h
@@ -21,8 +21,6 @@ namespace v8 {
namespace internal {
-class AstString;
-class AstValueFactory;
class ParserRecorder;
@@ -378,8 +376,9 @@ class Scanner {
return next_.literal_chars->is_contextual_keyword(keyword);
}
- const AstString* CurrentSymbol(AstValueFactory* ast_value_factory);
- const AstString* NextSymbol(AstValueFactory* ast_value_factory);
+ Handle<String> AllocateNextLiteralString(Isolate* isolate,
+ PretenureFlag tenured);
+ Handle<String> AllocateInternalizedString(Isolate* isolate);
double DoubleValue();
bool UnescapedLiteralMatches(const char* data, int length) {
« no previous file with comments | « src/rewriter.cc ('k') | src/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698