| Index: src/compiler/typer.cc
|
| diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
|
| index a90fcdfd646b25499fbe01899a2cdb8330a47608..8b6909c359050198f53c0833ba0aab2dafe00f70 100644
|
| --- a/src/compiler/typer.cc
|
| +++ b/src/compiler/typer.cc
|
| @@ -1273,9 +1273,6 @@ Type* Typer::Visitor::TypeJSCallConstruct(Node* node) {
|
|
|
|
|
| Type* Typer::Visitor::JSCallFunctionTyper(Type* fun, Typer* t) {
|
| - if (fun->IsFunction()) {
|
| - return fun->AsFunction()->Result();
|
| - }
|
| if (fun->IsConstant() && fun->AsConstant()->Value()->IsJSFunction()) {
|
| Handle<JSFunction> function =
|
| Handle<JSFunction>::cast(fun->AsConstant()->Value());
|
|
|