Commit a7a1e4e7 authored by rossberg@chromium.org's avatar rossberg@chromium.org

More precise result types for contructor calls

R=mstarzinger@chromium.org
BUG=

Review URL: https://codereview.chromium.org/199413009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19931 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 5f251d19
......@@ -562,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())));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment