| Index: src/allocation-site-scopes.cc
|
| diff --git a/src/allocation-site-scopes.cc b/src/allocation-site-scopes.cc
|
| index 805ad7bbee862880e1569e29f7d2849c78151c21..5b513f6fef5a05bfa150965ce461c677d2a2dcb2 100644
|
| --- a/src/allocation-site-scopes.cc
|
| +++ b/src/allocation-site-scopes.cc
|
| @@ -20,7 +20,7 @@ Handle<AllocationSite> AllocationSiteCreationContext::EnterNewScope() {
|
| static_cast<void*>(*scope_site));
|
| }
|
| } else {
|
| - ASSERT(!current().is_null());
|
| + DCHECK(!current().is_null());
|
| scope_site = isolate()->factory()->NewAllocationSite();
|
| if (FLAG_trace_creation_allocation_sites) {
|
| PrintF("Creating nested site (top, current, new) (%p, %p, %p)\n",
|
| @@ -31,7 +31,7 @@ Handle<AllocationSite> AllocationSiteCreationContext::EnterNewScope() {
|
| current()->set_nested_site(*scope_site);
|
| update_current_site(*scope_site);
|
| }
|
| - ASSERT(!scope_site.is_null());
|
| + DCHECK(!scope_site.is_null());
|
| return scope_site;
|
| }
|
|
|
|
|