Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index 590bc921fd360cc4f8bb91a63504f1601ab1020f..7fa1ffdf27fdb443b02d763c61bc942e9f4fd543 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -1505,6 +1505,8 @@ Type* Typer::Visitor::JSCallFunctionTyper(Type* fun, Typer* t) { |
return Type::OtherObject(); |
case kObjectHasOwnProperty: |
return Type::Boolean(); |
+ case kObjectToString: |
+ return Type::String(); |
// RegExp functions. |
case kRegExpCompile: |