Reviewers: marja,

Message:
Committed patchset #1 manually as r18163 (presubmit successful).

Description:
Experimental scanner: initialize starting position in literal descriptor.

BUG=
[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=18163

Please review this at https://codereview.chromium.org/97023004/

SVN Base: https://v8.googlecode.com/svn/branches/experimental/parser

Affected files (+1, -0 lines):
  M src/lexer/experimental-scanner.h


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; }
   };



--
--
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.

Reply via email to