Revision: 8467
Author:   [email protected]
Date:     Wed Jun 29 06:32:27 2011
Log:      Using KeyedStoreIC_Generic_Strict must prevent polymorphic case.

TEST=Fewer deopts in existing tests.

Review URL: http://codereview.chromium.org/7282007
http://code.google.com/p/v8/source/detail?r=8467

Modified:
 /branches/bleeding_edge/src/type-info.cc

=======================================
--- /branches/bleeding_edge/src/type-info.cc    Mon Jun 20 05:33:08 2011
+++ /branches/bleeding_edge/src/type-info.cc    Wed Jun 29 06:32:27 2011
@@ -122,6 +122,7 @@
     Builtins* builtins = Isolate::Current()->builtins();
     return code->is_keyed_store_stub() &&
         *code != builtins->builtin(Builtins::kKeyedStoreIC_Generic) &&
+ *code != builtins->builtin(Builtins::kKeyedStoreIC_Generic_Strict) &&
         code->ic_state() == MEGAMORPHIC;
   }
   return false;

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

Reply via email to