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

Unified Diff: src/scanner-base.h

Issue 7193045: Make preparser detect duplicate parameters and object literal properties. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed review comments. Created 9 years, 5 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/preparser-api.cc ('k') | src/utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scanner-base.h
diff --git a/src/scanner-base.h b/src/scanner-base.h
index 3d67d4e1eadb5633e82e11d10204f1ebe4de5ec7..a8c0116bca22d03b7cbd6d26a56ce742e744b7df 100644
--- a/src/scanner-base.h
+++ b/src/scanner-base.h
@@ -349,6 +349,8 @@ class Scanner {
return next_.literal_chars->length();
}
+ UnicodeCache* unicode_cache() { return unicode_cache_; }
+
static const int kCharacterLookaheadBufferSize = 1;
protected:
« no previous file with comments | « src/preparser-api.cc ('k') | src/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698