| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 8705f782a2ed1814b7b4cd8f990eee4eda4c4ce5..c6ce189dfb2fb5ab5cfd4edc42cf35dee1e7fc11 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -2068,9 +2068,10 @@ HValue* HGraphBuilder::BuildUncheckedStringAdd(
|
| // Fallback to the runtime to add the two strings.
|
| Add<HPushArgument>(left);
|
| Add<HPushArgument>(right);
|
| - Push(Add<HCallRuntime>(isolate()->factory()->empty_string(),
|
| - Runtime::FunctionForId(Runtime::kStringAdd),
|
| - 2));
|
| + Push(Add<HCallRuntime>(
|
| + isolate()->factory()->empty_string(),
|
| + Runtime::FunctionForId(Runtime::kStringAddInternal),
|
| + 2));
|
| }
|
| if_sameencodingandsequential.End();
|
| }
|
| @@ -8397,6 +8398,7 @@ void HOptimizedGraphBuilder::VisitCallNew(CallNew* expr) {
|
| const HOptimizedGraphBuilder::InlineFunctionGenerator
|
| HOptimizedGraphBuilder::kInlineFunctionGenerators[] = {
|
| INLINE_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_ADDRESS)
|
| + INLINE_OPTIMIZED_FUNCTION_LIST(INLINE_FUNCTION_GENERATOR_ADDRESS)
|
| };
|
| #undef INLINE_FUNCTION_GENERATOR_ADDRESS
|
|
|
| @@ -8599,7 +8601,8 @@ void HOptimizedGraphBuilder::VisitCallRuntime(CallRuntime* expr) {
|
| const Runtime::Function* function = expr->function();
|
| ASSERT(function != NULL);
|
|
|
| - if (function->intrinsic_type == Runtime::INLINE) {
|
| + if (function->intrinsic_type == Runtime::INLINE ||
|
| + function->intrinsic_type == Runtime::INLINE_OPTIMIZED) {
|
| ASSERT(expr->name()->length() > 0);
|
| ASSERT(expr->name()->Get(0) == '_');
|
| // Call to an inline function.
|
|
|