Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index ca3baa1215ff29afba9e3a11b7c628c3040e4b22..bf4ac788779f6b677bac0bb2c893c10082c22255 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -133,14 +133,10 @@ KeyedAccessStoreMode TypeFeedbackOracle::GetStoreMode( |
Handle<JSFunction> TypeFeedbackOracle::GetCallTarget(int slot) { |
Handle<Object> info = GetInfo(slot); |
if (info->IsAllocationSite()) { |
- ASSERT(!FLAG_pretenuring_call_new); |
return Handle<JSFunction>(isolate()->native_context()->array_function()); |
- } else { |
- return Handle<JSFunction>::cast(info); |
} |
- ASSERT(info->IsAllocationSite()); |
- return Handle<JSFunction>(isolate()->native_context()->array_function()); |
+ return Handle<JSFunction>::cast(info); |
} |