Revision: 11807
Author:   [email protected]
Date:     Thu Jun 14 01:57:34 2012
Log: Fix Kraken regression due to optimistic monomorphic element transitions

[email protected]

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

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

=======================================
--- /branches/bleeding_edge/src/ic.cc   Tue Jun 12 02:32:17 2012
+++ /branches/bleeding_edge/src/ic.cc   Thu Jun 14 01:57:34 2012
@@ -1602,7 +1602,7 @@
     monomorphic = true;
   } else {
     GetReceiverMapsForStub(Handle<Code>(target()), &target_receiver_maps);
-    if (ic_state == MONOMORPHIC && is_transition_stub) {
+ if (ic_state == MONOMORPHIC && (is_transition_stub || stub_kind == LOAD)) { // The first time a receiver is seen that is a transitioned version of the // previous monomorphic receiver type, assume the new ElementsKind is the
       // monomorphic type. This benefits global arrays that only transition

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

Reply via email to