Commit 730928eb authored by Michael Lippautz's avatar Michael Lippautz Committed by Commit Bot

[heap] Remove CS expectation from test

TEST=cctest/test-heap/EnsureAllocationSiteDependentCodesProcessed

Bug: 
Change-Id: I803d6b33258175da32fa79ba9b839e67d5ba11bf
Reviewed-on: https://chromium-review.googlesource.com/643210Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47721}
parent 769b2597
......@@ -3663,10 +3663,8 @@ TEST(EnsureAllocationSiteDependentCodesProcessed) {
dependency = dependency->next_link();
dependency_group_count++;
}
// TurboFan respects pretenuring feedback from allocation sites, Crankshaft
// does not. Either is fine for the purposes of this test.
CHECK(dependency_group_count == 1 || dependency_group_count == 2);
// Expect a dependent code object for transitioning and pretenuring.
CHECK_EQ(2, dependency_group_count);
}
// Now make sure that a gc should get rid of the function, even though we
......
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