| Index: src/compiler/typer.cc
|
| diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
|
| index ef0b88f3dcf558c4446368080cd41dea13697f86..6f120f25f9178ad341c5cc8073dd171d6f2ea231 100644
|
| --- a/src/compiler/typer.cc
|
| +++ b/src/compiler/typer.cc
|
| @@ -1563,8 +1563,10 @@ Type* Typer::Visitor::TypeJSCallRuntime(Node* node) {
|
| return Type::Number();
|
| case Runtime::kInlineMathClz32:
|
| return Type::Range(0, 32, zone());
|
| - case Runtime::kInlineStringGetLength:
|
| - return Type::Range(0, String::kMaxLength, zone());
|
| + case Runtime::kInlineRegExpConstructResult:
|
| + return Type::OtherObject();
|
| + case Runtime::kInlineSubString:
|
| + return Type::String();
|
| case Runtime::kInlineToInteger:
|
| return TypeUnaryOp(node, ToInteger);
|
| case Runtime::kInlineToLength:
|
|
|