Index: src/allocation-site-scopes.cc |
diff --git a/src/allocation-site-scopes.cc b/src/allocation-site-scopes.cc |
index bbfb39b122c336ad7e8df8846550fb5fec85d831..80dab8b314e86172d4256a466bb3352e743b56e9 100644 |
--- a/src/allocation-site-scopes.cc |
+++ b/src/allocation-site-scopes.cc |
@@ -62,7 +62,7 @@ Handle<AllocationSite> AllocationSiteCreationContext::EnterNewScope() { |
void AllocationSiteCreationContext::ExitScope( |
Handle<AllocationSite> scope_site, |
Handle<JSObject> object) { |
- if (!object.is_null() && !object->IsFailure()) { |
+ if (!object.is_null()) { |
bool top_level = !scope_site.is_null() && |
top().is_identical_to(scope_site); |