| Index: src/ast.cc
|
| diff --git a/src/ast.cc b/src/ast.cc
|
| index c43b9138bb8c81c7fc1e4a7bdb9c8be6fae18e68..4070c3c9a502533617365520c21967bdc878357c 100644
|
| --- a/src/ast.cc
|
| +++ b/src/ast.cc
|
| @@ -1083,8 +1083,9 @@ void AstConstructionVisitor::VisitCallRuntime(CallRuntime* node) {
|
| // optimize them.
|
| add_flag(kDontInline);
|
| } else if (node->function()->intrinsic_type == Runtime::INLINE &&
|
| - (node->name()->IsEqualTo(CStrVector("_ArgumentsLength")) ||
|
| - node->name()->IsEqualTo(CStrVector("_Arguments")))) {
|
| + (node->name()->IsOneByteEqualTo(
|
| + STATIC_ASCII_VECTOR("_ArgumentsLength")) ||
|
| + node->name()->IsOneByteEqualTo(STATIC_ASCII_VECTOR("_Arguments")))) {
|
| // Don't inline the %_ArgumentsLength or %_Arguments because their
|
| // implementation will not work. There is no stack frame to get them
|
| // from.
|
|
|