Revision: 17363
Author:   [email protected]
Date:     Thu Oct 24 09:23:47 2013 UTC
Log:      Version 3.22.21

Performance and stability improvements on all platforms.
http://code.google.com/p/v8/source/detail?r=17363

Deleted:
 /trunk/test/mjsunit/regress/regress-array-pop-nonconfigurable.js
 /trunk/test/mjsunit/regress/regress-crbug-84186.js
Modified:
 /trunk/ChangeLog
 /trunk/src/api.cc
 /trunk/src/arm/regexp-macro-assembler-arm.h
 /trunk/src/array.js
 /trunk/src/spaces.cc
 /trunk/src/version.cc
 /trunk/src/x64/assembler-x64.cc
 /trunk/src/x64/builtins-x64.cc
 /trunk/tools/presubmit.py

=======================================
--- /trunk/test/mjsunit/regress/regress-array-pop-nonconfigurable.js Thu Oct 24 06:31:36 2013 UTC
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2013 the V8 project authors. All rights reserved.
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-//       notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-//       copyright notice, this list of conditions and the following
-//       disclaimer in the documentation and/or other materials provided
-//       with the distribution.
-//     * Neither the name of Google Inc. nor the names of its
-//       contributors may be used to endorse or promote products derived
-//       from this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-var a = [];
-Object.defineProperty(a, 0, {});
-assertThrows(function() { a.pop(); });
-
=======================================
--- /trunk/test/mjsunit/regress/regress-crbug-84186.js Mon May 30 09:20:16 2011 UTC
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2011 the V8 project authors. All rights reserved.
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-//     * Redistributions of source code must retain the above copyright
-//       notice, this list of conditions and the following disclaimer.
-//     * Redistributions in binary form must reproduce the above
-//       copyright notice, this list of conditions and the following
-//       disclaimer in the documentation and/or other materials provided
-//       with the distribution.
-//     * Neither the name of Google Inc. nor the names of its
-//       contributors may be used to endorse or promote products derived
-//       from this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-// Test that the expected string is parsed in the json parser when the length -// is so big that the string can't fit in new space, and it includes special
-// characters.
-
-var json = '{"key":"';
-var key = '';
-var expected = '';
-for(var i = 0; i < 60000; i++) {
-  key = key + "TESTING" + i + "\\n";
-  expected = expected + "TESTING" + i + "\n";
-}
-json = json + key  + '"}';
-var out = JSON.parse(json);
-assertEquals(expected, out.key);
=======================================
--- /trunk/ChangeLog    Thu Oct 24 06:31:36 2013 UTC
+++ /trunk/ChangeLog    Thu Oct 24 09:23:47 2013 UTC
@@ -1,3 +1,8 @@
+2013-10-24: Version 3.22.21
+
+        Performance and stability improvements on all platforms.
+
+
 2013-10-24: Version 3.22.20

Made Array.prototype.pop throw if the last element is not configurable.
=======================================
--- /trunk/src/api.cc   Thu Oct 24 06:31:36 2013 UTC
+++ /trunk/src/api.cc   Thu Oct 24 09:23:47 2013 UTC
@@ -6382,7 +6382,6 @@
   internal_isolate->global_handles()->SetObjectGroupId(
       v8::internal::Handle<v8::internal::Object>(object).location(),
       id);
-  internal_isolate->global_handles()->SetObjectGroupId(object, id);
 }


@@ -6391,7 +6390,6 @@
   internal_isolate->global_handles()->SetReferenceFromGroup(
       id,
       v8::internal::Handle<v8::internal::Object>(object).location());
-  internal_isolate->global_handles()->SetReferenceFromGroup(id, object);
 }


=======================================
--- /trunk/src/arm/regexp-macro-assembler-arm.h Fri Sep 13 07:28:52 2013 UTC
+++ /trunk/src/arm/regexp-macro-assembler-arm.h Thu Oct 24 09:23:47 2013 UTC
@@ -223,11 +223,6 @@
   // are always 0..num_saved_registers_-1)
   int num_saved_registers_;

-  // Manage a small pre-allocated pool for writing label targets
-  // to for pushing backtrack addresses.
-  int backtrack_constant_pool_offset_;
-  int backtrack_constant_pool_capacity_;
-
   // Labels used internally.
   Label entry_label_;
   Label start_label_;
=======================================
--- /trunk/src/array.js Thu Oct 24 06:31:36 2013 UTC
+++ /trunk/src/array.js Thu Oct 24 09:23:47 2013 UTC
@@ -430,7 +430,7 @@

   n--;
   var value = this[n];
-  Delete(this, ToName(n), true);
+  delete this[n];
   this.length = n;
   return value;
 }
=======================================
--- /trunk/src/spaces.cc        Thu Oct 24 06:31:36 2013 UTC
+++ /trunk/src/spaces.cc        Thu Oct 24 09:23:47 2013 UTC
@@ -1080,10 +1080,8 @@
         size = AreaSize();
       } else {
 #if V8_TARGET_ARCH_MIPS
-        // On MIPS, code stubs seem to be quite a bit larger.
-        // TODO(olivf/MIPS folks): Can we do anything about this? Does it
-        // indicate the presence of a bug?
-        size = 464 * KB;
+        // TODO(plind): Investigate larger code stubs size on MIPS.
+        size = 480 * KB;
 #else
         size = 416 * KB;
 #endif
=======================================
--- /trunk/src/version.cc       Thu Oct 24 06:31:36 2013 UTC
+++ /trunk/src/version.cc       Thu Oct 24 09:23:47 2013 UTC
@@ -34,7 +34,7 @@
 // system so their names cannot be changed without changing the scripts.
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     22
-#define BUILD_NUMBER      20
+#define BUILD_NUMBER      21
 #define PATCH_LEVEL       0
 // Use 1 for candidates and 0 otherwise.
 // (Boolean macro values are not supported by all preprocessors.)
=======================================
--- /trunk/src/x64/assembler-x64.cc     Thu Oct 24 06:31:36 2013 UTC
+++ /trunk/src/x64/assembler-x64.cc     Thu Oct 24 09:23:47 2013 UTC
@@ -110,8 +110,8 @@
 #endif

   // Patch the code.
-  patcher.masm()->movq(r10, target, RelocInfo::NONE64);
-  patcher.masm()->call(r10);
+  patcher.masm()->movq(kScratchRegister, target, RelocInfo::NONE64);
+  patcher.masm()->call(kScratchRegister);

   // Check that the size of the code generated is as expected.
   ASSERT_EQ(Assembler::kCallSequenceLength,
=======================================
--- /trunk/src/x64/builtins-x64.cc      Thu Oct 24 06:31:36 2013 UTC
+++ /trunk/src/x64/builtins-x64.cc      Thu Oct 24 09:23:47 2013 UTC
@@ -646,12 +646,12 @@
   __ Popad();

   // Perform prologue operations usually performed by the young code stub.
-  __ pop(r10);   // Pop return address into scratch register.
+  __ PopReturnAddressTo(kScratchRegister);
   __ push(rbp);  // Caller's frame pointer.
   __ movq(rbp, rsp);
   __ push(rsi);  // Callee's context.
   __ push(rdi);  // Callee's JS Function.
-  __ push(r10);  // Push return address after frame prologue.
+  __ PushReturnAddressFrom(kScratchRegister);

   // Jump to point after the code-age stub.
   __ ret(0);
@@ -696,17 +696,17 @@
   }

   // Get the full codegen state from the stack and untag it.
-  __ SmiToInteger32(r10, Operand(rsp, kPCOnStackSize));
+  __ SmiToInteger32(kScratchRegister, Operand(rsp, kPCOnStackSize));

   // Switch on the state.
   Label not_no_registers, not_tos_rax;
-  __ cmpq(r10, Immediate(FullCodeGenerator::NO_REGISTERS));
+  __ cmpq(kScratchRegister, Immediate(FullCodeGenerator::NO_REGISTERS));
   __ j(not_equal, &not_no_registers, Label::kNear);
   __ ret(1 * kPointerSize);  // Remove state.

   __ bind(&not_no_registers);
   __ movq(rax, Operand(rsp, kPCOnStackSize + kPointerSize));
-  __ cmpq(r10, Immediate(FullCodeGenerator::TOS_REG));
+  __ cmpq(kScratchRegister, Immediate(FullCodeGenerator::TOS_REG));
   __ j(not_equal, &not_tos_rax, Label::kNear);
   __ ret(2 * kPointerSize);  // Remove state, rax.

=======================================
--- /trunk/tools/presubmit.py   Thu Oct 24 06:31:36 2013 UTC
+++ /trunk/tools/presubmit.py   Thu Oct 24 09:23:47 2013 UTC
@@ -282,8 +282,8 @@
Check that all files include a copyright notice and no trailing whitespaces.
   """

-  RELEVANT_EXTENSIONS = ['.js', '.cc', '.h', '.py', '.c',
-                         '.status', '.gyp', '.gypi']
+  RELEVANT_EXTENSIONS = ['.js', '.cc', '.h', '.py', '.c', 'SConscript',
+      'SConstruct', '.status', '.gyp', '.gypi']

   # Overwriting the one in the parent class.
   def FindFilesIn(self, path):
@@ -292,7 +292,7 @@
                                 stdout=PIPE, cwd=path, shell=True)
       result = []
       for file in output.stdout.read().split():
- for dir_part in os.path.dirname(file).replace(os.sep, '/').split('/'):
+        for dir_part in os.path.dirname(file).split(os.sep):
           if self.IgnoreDir(dir_part):
             break
         else:

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