Reviewers: Jakob,

Description:
Version 3.27.34.10 (merged r22494)

Fix off-by-one error in Array.concat slow mode check

BUG=chromium:395499
LOG=N
[email protected]

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

SVN Base: https://v8.googlecode.com/svn/branches/3.27

Affected files (+3, -3 lines):
  M src/runtime.cc
  M src/version.cc


Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 15e1adaf0e4d400d3296186576c67e0950cc3953..36b3177b7c02c474b058bc3f0f8f2a8c1aa5b4c1 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -10059,8 +10059,8 @@ class ArrayConcatVisitor {
     // but the array blowing the limit didn't contain elements beyond the
     // provided-for index range, go to dictionary mode now.
     if (fast_elements_ &&
-        index_offset_ >= static_cast<uint32_t>(
-            FixedArrayBase::cast(*storage_)->length())) {
+        index_offset_ >
+ static_cast<uint32_t>(FixedArrayBase::cast(*storage_)->length())) {
       SetDictionaryMode();
     }
   }
Index: src/version.cc
diff --git a/src/version.cc b/src/version.cc
index 1ad51c7f8a89e6f762aa3d76a69cd61a01139937..f4b46640f3f87596888691b4ede10439166d16da 100644
--- a/src/version.cc
+++ b/src/version.cc
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     27
 #define BUILD_NUMBER      34
-#define PATCH_LEVEL       9
+#define PATCH_LEVEL       10
 // 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.

Reply via email to