| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index ff09e287f76cfff73a251e2e92e3f63e2a1e7aa7..d096087b4283f16bf93adba20324692376ca549c 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -2689,7 +2689,7 @@ void LCodeGen::EmitClassOfTest(Label* is_true,
|
|
|
| __ JumpIfSmi(input, is_false);
|
|
|
| - if (class_name->IsOneByteEqualTo(STATIC_ASCII_VECTOR("Function"))) {
|
| + if (String::Equals(isolate()->factory()->Function_string(), class_name)) {
|
| // Assuming the following assertions, we can use the same compares to test
|
| // for both being a function type and being in the object type range.
|
| STATIC_ASSERT(NUM_OF_CALLABLE_SPEC_OBJECT_TYPES == 2);
|
|
|