Revision: 19931
Author:   [email protected]
Date:     Fri Mar 14 11:40:03 2014 UTC
Log:      More precise result types for contructor calls

[email protected]
BUG=

Review URL: https://codereview.chromium.org/199413009
http://code.google.com/p/v8/source/detail?r=19931

Modified:
 /branches/bleeding_edge/src/typing.cc

=======================================
--- /branches/bleeding_edge/src/typing.cc       Fri Mar 14 09:28:37 2014 UTC
+++ /branches/bleeding_edge/src/typing.cc       Fri Mar 14 11:40:03 2014 UTC
@@ -562,7 +562,7 @@
     RECURSE(Visit(arg));
   }

-  // We don't know anything about the result type.
+  NarrowType(expr, Bounds(Type::None(zone()), Type::Receiver(zone())));
 }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to