Commit 90fdb821 authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

Remove redundant NULL check.

R=mvstanton@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18491 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 51a107e3
......@@ -12778,7 +12778,7 @@ const double AllocationSite::kPretenureRatio = 0.60;
bool AllocationSite::IsNestedSite() {
ASSERT(FLAG_trace_track_allocation_sites);
Object* current = GetHeap()->allocation_sites_list();
while (current != NULL && current->IsAllocationSite()) {
while (current->IsAllocationSite()) {
AllocationSite* current_site = AllocationSite::cast(current);
if (current_site->nested_site() == this) {
return true;
......
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