Revision: 16393
Author:   [email protected]
Date:     Wed Aug 28 12:35:07 2013 UTC
Log: Insert allocation memento clear instructions after the dominating allocate instruction.

BUG=
[email protected]

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

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

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Wed Aug 28 08:39:43 2013 UTC +++ /branches/bleeding_edge/src/hydrogen-instructions.cc Wed Aug 28 12:35:07 2013 UTC
@@ -3323,12 +3323,12 @@
   } else {
     // TODO(hpayer): This is a short-term hack to make allocation mementos
     // work again in new space.
-    ClearNextMapWord(original_object_size);
+    dominator_allocate->ClearNextMapWord(original_object_size);
   }
 #else
   // TODO(hpayer): This is a short-term hack to make allocation mementos
   // work again in new space.
-  ClearNextMapWord(original_object_size);
+  dominator_allocate->ClearNextMapWord(original_object_size);
 #endif

   dominator_allocate->clear_next_map_word_ = clear_next_map_word_;

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