Fix gc mole test failure.

TBR=ulan@chromium.org

Review URL: https://codereview.chromium.org/651683003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24745 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 299ed092
...@@ -71,7 +71,8 @@ TEST(VectorSlotClearing) { ...@@ -71,7 +71,8 @@ TEST(VectorSlotClearing) {
// Fill with information // Fill with information
vector->Set(FeedbackVectorSlot(0), Smi::FromInt(1)); vector->Set(FeedbackVectorSlot(0), Smi::FromInt(1));
vector->Set(FeedbackVectorSlot(1), *factory->fixed_array_map()); 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); vector->ClearSlots(NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment