Reviewers: ulan,

Message:
Hi Ulan,
Here is a gc mole failure, PTAL, thx!
--michael

Description:
Fix gc mole test failure.

BUG=

Please review this at https://codereview.chromium.org/651683003/

Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -1 lines):
  M test/cctest/test-feedback-vector.cc


Index: test/cctest/test-feedback-vector.cc
diff --git a/test/cctest/test-feedback-vector.cc b/test/cctest/test-feedback-vector.cc index 7e4fec8dce45f2999ddd73dba196ca57d3478882..517d19f535bc0c61260a57b65adcca401ed8d1b2 100644
--- a/test/cctest/test-feedback-vector.cc
+++ b/test/cctest/test-feedback-vector.cc
@@ -71,7 +71,8 @@ TEST(VectorSlotClearing) {
   // 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