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
This commit is contained in:
mvstanton@chromium.org 2014-10-20 17:32:06 +00:00
parent 299ed092ad
commit 8a54a9a4f0

View File

@ -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);