| Index: src/typing.cc
|
| diff --git a/src/typing.cc b/src/typing.cc
|
| index b925dc610ffdbd666717b835129971eb6f7b0887..b9d0ba310aa3c683aa9575444c1e20f13b1bc6af 100644
|
| --- a/src/typing.cc
|
| +++ b/src/typing.cc
|
| @@ -40,6 +40,7 @@ AstTyper::AstTyper(CompilationInfo* info)
|
| : info_(info),
|
| oracle_(
|
| Handle<Code>(info->closure()->shared()->code()),
|
| + Handle<FixedArray>(info->closure()->shared()->feedback_vector()),
|
| Handle<Context>(info->closure()->context()->native_context()),
|
| info->zone()),
|
| store_(info->zone()) {
|
| @@ -561,7 +562,7 @@ void AstTyper::VisitCallNew(CallNew* expr) {
|
| RECURSE(Visit(arg));
|
| }
|
|
|
| - // We don't know anything about the result type.
|
| + NarrowType(expr, Bounds(Type::None(zone()), Type::Receiver(zone())));
|
| }
|
|
|
|
|
|
|