Revision: 10444
Author:   [email protected]
Date:     Thu Jan 19 06:58:54 2012
Log: Revert "Immediately use the generic stub when storing into COW arrays"

Due to unexpected performance implications.

This reverts r10429.

Review URL: https://chromiumcodereview.appspot.com/9150032
http://code.google.com/p/v8/source/detail?r=10444

Modified:
 /branches/bleeding_edge/src/ic.cc

=======================================
--- /branches/bleeding_edge/src/ic.cc   Wed Jan 18 05:15:22 2012
+++ /branches/bleeding_edge/src/ic.cc   Thu Jan 19 06:58:54 2012
@@ -1677,9 +1677,6 @@
       if (receiver->elements()->map() ==
           isolate()->heap()->non_strict_arguments_elements_map()) {
         stub = non_strict_arguments_stub();
-      } else if (receiver->elements()->map() ==
-          isolate()->heap()->fixed_cow_array_map()) {
-        // Do nothing, just keep the generic stub.
       } else if (!force_generic) {
         if (key->IsSmi() && (target() != *non_strict_arguments_stub())) {
           StubKind stub_kind = STORE_NO_TRANSITION;

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to