Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index 1cfaf64f64a403e4a44b035c889c091625ac0592..7f736a4fc6620419c4dddbf6ca4dc4e32313b9a0 100644 |
--- a/src/typing.cc |
+++ b/src/typing.cc |
@@ -510,12 +510,13 @@ void AstTyper::VisitProperty(Property* expr) { |
void AstTyper::VisitCall(Call* expr) { |
// Collect type feedback. |
RECURSE(Visit(expr->expression())); |
+ FeedbackVectorICSlot slot = expr->CallFeedbackSlot(); |
+ expr->set_is_uninitialized(oracle()->CallIsUninitialized(slot)); |
if (!expr->expression()->IsProperty() && |
expr->IsUsingCallFeedbackSlot(isolate()) && |
- oracle()->CallIsMonomorphic(expr->CallFeedbackSlot())) { |
- expr->set_target(oracle()->GetCallTarget(expr->CallFeedbackSlot())); |
- Handle<AllocationSite> site = |
- oracle()->GetCallAllocationSite(expr->CallFeedbackSlot()); |
+ oracle()->CallIsMonomorphic(slot)) { |
+ expr->set_target(oracle()->GetCallTarget(slot)); |
+ Handle<AllocationSite> site = oracle()->GetCallAllocationSite(slot); |
expr->set_allocation_site(site); |
} |