Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 3246dfa8e4cd0114e8664a03269da6fb01d2e88b..5b332b3aada09edb8399bfd9c56325f9cbfaffa9 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -12677,6 +12677,16 @@ void HOptimizedGraphBuilder::GenerateGetCachedArrayIndex(CallRuntime* call) { |
} |
+void HOptimizedGraphBuilder::GenerateFastOneByteArrayJoin(CallRuntime* call) { |
+ // Simply returning undefined here would be semantically correct and even |
+ // avoid the bailout. Nevertheless, some ancient benchmarks like SunSpider's |
+ // string-fasta would tank, because fullcode contains an optimized version. |
+ // Obviously the fullcode => Crankshaft => bailout => fullcode dance is |
+ // faster... *sigh* |
+ return Bailout(kInlinedRuntimeFunctionFastOneByteArrayJoin); |
+} |
+ |
+ |
void HOptimizedGraphBuilder::GenerateDebugBreakInOptimizedCode( |
CallRuntime* call) { |
Add<HDebugBreak>(); |