| Index: src/crankshaft/typing.cc
|
| diff --git a/src/crankshaft/typing.cc b/src/crankshaft/typing.cc
|
| index d2b56e255b1fff19906e6899d929db9753a41fe5..1215dc25f24b43bcf46104b4e3eae484304f6ab5 100644
|
| --- a/src/crankshaft/typing.cc
|
| +++ b/src/crankshaft/typing.cc
|
| @@ -517,16 +517,12 @@ void AstTyper::VisitProperty(Property* expr) {
|
| void AstTyper::VisitCall(Call* expr) {
|
| // Collect type feedback.
|
| RECURSE(Visit(expr->expression()));
|
| - bool is_uninitialized = true;
|
| - if (expr->IsUsingCallFeedbackICSlot()) {
|
| - FeedbackVectorSlot slot = expr->CallFeedbackICSlot();
|
| - is_uninitialized = oracle()->CallIsUninitialized(slot);
|
| - if (!expr->expression()->IsProperty() &&
|
| - oracle()->CallIsMonomorphic(slot)) {
|
| - expr->set_target(oracle()->GetCallTarget(slot));
|
| - Handle<AllocationSite> site = oracle()->GetCallAllocationSite(slot);
|
| - expr->set_allocation_site(site);
|
| - }
|
| + FeedbackVectorSlot slot = expr->CallFeedbackICSlot();
|
| + bool is_uninitialized = oracle()->CallIsUninitialized(slot);
|
| + if (!expr->expression()->IsProperty() && oracle()->CallIsMonomorphic(slot)) {
|
| + expr->set_target(oracle()->GetCallTarget(slot));
|
| + Handle<AllocationSite> site = oracle()->GetCallAllocationSite(slot);
|
| + expr->set_allocation_site(site);
|
| }
|
|
|
| expr->set_is_uninitialized(is_uninitialized);
|
|
|