Revision: 18124
Author:   [email protected]
Date:     Thu Nov 28 13:45:23 2013 UTC
Log:      Fix allocation memento bookeeping code for js arrays.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/95053002
http://code.google.com/p/v8/source/detail?r=18124

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

=======================================
--- /branches/bleeding_edge/src/hydrogen.cc     Thu Nov 28 10:49:02 2013 UTC
+++ /branches/bleeding_edge/src/hydrogen.cc     Thu Nov 28 13:45:23 2013 UTC
@@ -2248,9 +2248,8 @@
               AllocationSite::kMementoCreateCountOffset);
       HValue* create_info = Add<HLoadNamedField>(allocation_site_payload,
                                                  access);
-      HInstruction* new_create_info = HAdd::New(zone(), context(),
-                                                create_info,
-                                                graph()->GetConstant1());
+      HInstruction* new_create_info =
+          AddUncasted<HAdd>(create_info, graph()->GetConstant1());
       new_create_info->ClearFlag(HValue::kCanOverflow);
HStoreNamedField* store = Add<HStoreNamedField>(allocation_site_payload, access, new_create_info);

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