Revision: 24605
Author: [email protected]
Date: Tue Oct 14 13:58:28 2014 UTC
Log: Version 3.30.9.1 (merged r24603)
Correctly expand literal buffer for surrogate pairs.
BUG=chromium:423212
LOG=N
[email protected]
Review URL: https://codereview.chromium.org/655563004
https://code.google.com/p/v8/source/detail?r=24605
Modified:
/trunk/src/scanner.h
/trunk/src/version.cc
=======================================
--- /trunk/src/scanner.h Mon Oct 13 00:05:20 2014 UTC
+++ /trunk/src/scanner.h Tue Oct 14 13:58:28 2014 UTC
@@ -219,6 +219,7 @@
*reinterpret_cast<uint16_t*>(&backing_store_[position_]) =
unibrow::Utf16::LeadSurrogate(code_unit);
position_ += kUC16Size;
+ if (position_ >= backing_store_.length()) ExpandBuffer();
*reinterpret_cast<uint16_t*>(&backing_store_[position_]) =
unibrow::Utf16::TrailSurrogate(code_unit);
position_ += kUC16Size;
=======================================
--- /trunk/src/version.cc Tue Oct 14 07:51:07 2014 UTC
+++ /trunk/src/version.cc Tue Oct 14 13:58:28 2014 UTC
@@ -35,7 +35,7 @@
#define MAJOR_VERSION 3
#define MINOR_VERSION 30
#define BUILD_NUMBER 9
-#define PATCH_LEVEL 0
+#define PATCH_LEVEL 1
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
#define IS_CANDIDATE_VERSION 0
--
--
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/d/optout.