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

Unified Diff: src/parser.h

Issue 3153037: Use collector for preparse data. (Closed)
Patch Set: Created 10 years, 4 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 | « no previous file | src/parser.cc » ('j') | src/parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parser.h
diff --git a/src/parser.h b/src/parser.h
index f918a3a31089085221038dc8cdeb3f8ba29270e2..225a36832ef31ed852a017ae88c30f4738af6230 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -120,6 +120,9 @@ class ScriptDataImpl : public ScriptData {
Vector<unsigned> store_;
+ // Read strings written by ParserRecorder::WriteString.
+ static const char* ReadString(unsigned* start, int* chars);
+
// The last entry returned. This is used to make lookup faster:
// the next entry to return is typically the next entry so lookup
// will usually be much faster if we start from the last entry.
« no previous file with comments | « no previous file | src/parser.cc » ('j') | src/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698