| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 796e61d6717e35825682ca705a8ad138742e61e9..2075baf0c343bdce4c3495ab95c0d99b8aa824ef 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -1862,9 +1862,8 @@ void LCodeGen::DoHasCachedArrayIndexAndBranch(
|
| }
|
|
|
|
|
| -// Branches to a label or falls through with this instance class-name adr
|
| -// returned in temp reg, available for comparison by the caller. Trashes the
|
| -// temp registers, but not the input. Only input and temp2 may alias.
|
| +// Branches to a label or falls through with the answer in flags. Trashes
|
| +// the temp registers, but not the input.
|
| void LCodeGen::EmitClassOfTest(Label* is_true,
|
| Label* is_false,
|
| Handle<String>class_name,
|
| @@ -1872,7 +1871,9 @@ void LCodeGen::EmitClassOfTest(Label* is_true,
|
| Register temp,
|
| Register temp2) {
|
| ASSERT(!input.is(temp));
|
| - ASSERT(!temp.is(temp2)); // But input and temp2 may be the same register.
|
| + ASSERT(!input.is(temp2));
|
| + ASSERT(!temp.is(temp2));
|
| +
|
| __ JumpIfSmi(input, is_false);
|
|
|
| if (class_name->IsEqualTo(CStrVector("Function"))) {
|
|
|