Commit efd8fd56 authored by bmeurer's avatar bmeurer Committed by Commit bot

[turbofan] Improve JSToBoolean typing.

R=svenpanne@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#25896}
parent 233f2d2b
......@@ -1182,7 +1182,7 @@ Bounds Typer::Visitor::TypeJSTypeOf(Node* node) {
Bounds Typer::Visitor::TypeJSToBoolean(Node* node) {
return Bounds(Type::None(zone()), Type::Boolean(zone()));
return TypeUnaryOp(node, ToBoolean);
}
......
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