Revision: 18163
Author: [email protected]
Date: Fri Nov 29 15:14:11 2013 UTC
Log: Experimental scanner: initialize starting position in literal
descriptor.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/97023004
http://code.google.com/p/v8/source/detail?r=18163
Modified:
/branches/experimental/parser/src/lexer/experimental-scanner.h
=======================================
--- /branches/experimental/parser/src/lexer/experimental-scanner.h Fri Nov
29 10:35:20 2013 UTC
+++ /branches/experimental/parser/src/lexer/experimental-scanner.h Fri Nov
29 15:14:11 2013 UTC
@@ -252,6 +252,7 @@
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; }
};
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.