Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index adaec2830642c69334f7433ff477440ff6d629a1..2f784f7af8f045a97621ceeffe2f38b1fc7b9307 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -1631,8 +1631,6 @@ Type* Typer::Visitor::TypeJSCallRuntime(Node* node) { |
case Runtime::kInlineConstructDouble: |
case Runtime::kInlineMathAtan2: |
return Type::Number(); |
- case Runtime::kInlineMathClz32: |
- return Type::Range(0, 32, zone()); |
case Runtime::kInlineCreateIterResultObject: |
case Runtime::kInlineRegExpConstructResult: |
return Type::OtherObject(); |
@@ -1759,6 +1757,10 @@ Type* Typer::Visitor::TypeNumberShiftRightLogical(Node* node) { |
return Type::Unsigned32(); |
} |
+Type* Typer::Visitor::TypeNumberClz32(Node* node) { |
+ return typer_->cache_.kZeroToThirtyTwo; |
+} |
+ |
Type* Typer::Visitor::TypeNumberCeil(Node* node) { |
return TypeUnaryOp(node, NumberCeil); |
} |