Index: src/allocation-site-scopes.cc |
diff --git a/src/allocation-site-scopes.cc b/src/allocation-site-scopes.cc |
index 8097045b27d6be89d5d5922e6f14c01668e1648f..31120b902531a4c5bd54c9f010e0d74ea67a0329 100644 |
--- a/src/allocation-site-scopes.cc |
+++ b/src/allocation-site-scopes.cc |
@@ -82,27 +82,4 @@ void AllocationSiteCreationContext::ExitScope( |
} |
} |
- |
-Handle<AllocationSite> AllocationSiteUsageContext::EnterNewScope() { |
- if (top().is_null()) { |
- InitializeTraversal(top_site_); |
- } else { |
- // Advance current site |
- Object* nested_site = current()->nested_site(); |
- // Something is wrong if we advance to the end of the list here. |
- ASSERT(nested_site->IsAllocationSite()); |
- update_current_site(AllocationSite::cast(nested_site)); |
- } |
- return Handle<AllocationSite>(*current(), isolate()); |
-} |
- |
- |
-void AllocationSiteUsageContext::ExitScope( |
- Handle<AllocationSite> scope_site, |
- Handle<JSObject> object) { |
- // This assert ensures that we are pointing at the right sub-object in a |
- // recursive walk of a nested literal. |
- ASSERT(object.is_null() || *object == scope_site->transition_info()); |
-} |
- |
} } // namespace v8::internal |