| Index: src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.cc b/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| index a806b3b8145afca2e362ad02ab5bd88333d71036..b1593f1c7578dc966550101ef53988a14e3bf2e4 100644
|
| --- a/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| +++ b/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| @@ -2443,10 +2443,11 @@ void LCodeGen::EmitClassOfTest(Label* is_true,
|
| __ JumpIfSmi(input, is_false);
|
|
|
| __ GetObjectType(input, temp, temp2);
|
| + STATIC_ASSERT(LAST_FUNCTION_TYPE == LAST_TYPE);
|
| if (String::Equals(isolate()->factory()->Function_string(), class_name)) {
|
| - __ Branch(is_true, eq, temp2, Operand(JS_FUNCTION_TYPE));
|
| + __ Branch(is_true, hs, temp2, Operand(FIRST_FUNCTION_TYPE));
|
| } else {
|
| - __ Branch(is_false, eq, temp2, Operand(JS_FUNCTION_TYPE));
|
| + __ Branch(is_false, hs, temp2, Operand(FIRST_FUNCTION_TYPE));
|
| }
|
|
|
| // Now we are in the FIRST-LAST_NONCALLABLE_SPEC_OBJECT_TYPE range.
|
|
|