| Index: src/typing.cc
|
| diff --git a/src/typing.cc b/src/typing.cc
|
| index 30e0b920529a5a9ed8890a3d627d3ff06b7bfacb..b1fde82c13ef9caa2901ecb32df2afa842e2bd99 100644
|
| --- a/src/typing.cc
|
| +++ b/src/typing.cc
|
| @@ -531,13 +531,7 @@ void AstTyper::VisitProperty(Property* expr) {
|
|
|
| void AstTyper::VisitCall(Call* expr) {
|
| // Collect type feedback.
|
| - Expression* callee = expr->expression();
|
| - Property* prop = callee->AsProperty();
|
| - if (prop != NULL) {
|
| - expr->RecordTypeFeedback(oracle(), CALL_AS_METHOD);
|
| - } else {
|
| - expr->RecordTypeFeedback(oracle(), CALL_AS_FUNCTION);
|
| - }
|
| + expr->RecordTypeFeedback(oracle());
|
|
|
| RECURSE(Visit(expr->expression()));
|
| ZoneList<Expression*>* args = expr->arguments();
|
|
|