Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 63b6da7e8b29b792e9bb6403f365bb3bda325615..3fb867bde3d5ed6403c6ee474a2e5dca71469d1c 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -10277,7 +10277,7 @@ void HOptimizedGraphBuilder::GenerateNumberToString(CallRuntime* call) { |
ASSERT_EQ(1, call->arguments()->length()); |
CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); |
HValue* number = Pop(); |
- HValue* result = BuildNumberToString(number, Type::Number(isolate())); |
+ HValue* result = BuildNumberToString(number, Type::Any(isolate())); |
return ast_context()->ReturnValue(result); |
} |