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

Unified Diff: src/lexer/experimental-scanner.h

Issue 97023004: Experimental scanner: initialize starting position in literal descriptor. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lexer/experimental-scanner.h
diff --git a/src/lexer/experimental-scanner.h b/src/lexer/experimental-scanner.h
index 7f81565e652db36b77f22747d093b1c36ab9a7b5..ab07ef62e5bda4f91e33e2225421777452ce0912 100644
--- a/src/lexer/experimental-scanner.h
+++ b/src/lexer/experimental-scanner.h
@@ -252,6 +252,7 @@ class ScannerBase {
Vector<const char> ascii_string;
Vector<const uc16> utf16_string;
LiteralBuffer buffer;
+ LiteralDesc() : beg_pos(-1), is_ascii(false), length(0) { }
bool Valid(int pos) { return beg_pos == pos; }
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698