Revision: 24745
Author:   [email protected]
Date:     Mon Oct 20 17:32:06 2014 UTC
Log:      Fix gc mole test failure.

[email protected]

Review URL: https://codereview.chromium.org/651683003
https://code.google.com/p/v8/source/detail?r=24745

Modified:
 /branches/bleeding_edge/test/cctest/test-feedback-vector.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-feedback-vector.cc Mon Oct 20 11:42:56 2014 UTC +++ /branches/bleeding_edge/test/cctest/test-feedback-vector.cc Mon Oct 20 17:32:06 2014 UTC
@@ -71,7 +71,8 @@
   // Fill with information
   vector->Set(FeedbackVectorSlot(0), Smi::FromInt(1));
   vector->Set(FeedbackVectorSlot(1), *factory->fixed_array_map());
-  vector->Set(FeedbackVectorSlot(2), *factory->NewAllocationSite());
+  Handle<AllocationSite> site = factory->NewAllocationSite();
+  vector->Set(FeedbackVectorSlot(2), *site);

   vector->ClearSlots(NULL);

--
--
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/d/optout.

Reply via email to