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
This commit is contained in:
parent
51a107e31f
commit
90fdb82164
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user