| Index: src/mips64/macro-assembler-mips64.h
|
| diff --git a/src/mips64/macro-assembler-mips64.h b/src/mips64/macro-assembler-mips64.h
|
| index 03e535d55e56bc169e6ab13abbb16b572a29e7db..921de8453d935c2ff58730a973678189f8bcdc60 100644
|
| --- a/src/mips64/macro-assembler-mips64.h
|
| +++ b/src/mips64/macro-assembler-mips64.h
|
| @@ -391,7 +391,7 @@ class MacroAssembler: public Assembler {
|
| void JumpIfNotInNewSpace(Register object,
|
| Register scratch,
|
| Label* branch) {
|
| - InNewSpace(object, scratch, ne, branch);
|
| + InNewSpace(object, scratch, eq, branch);
|
| }
|
|
|
| // Check if object is in new space. Jumps if the object is in new space.
|
| @@ -399,7 +399,7 @@ class MacroAssembler: public Assembler {
|
| void JumpIfInNewSpace(Register object,
|
| Register scratch,
|
| Label* branch) {
|
| - InNewSpace(object, scratch, eq, branch);
|
| + InNewSpace(object, scratch, ne, branch);
|
| }
|
|
|
| // Check if an object has a given incremental marking color.
|
| @@ -1843,9 +1843,8 @@ const Operand& rt = Operand(zero_reg), BranchDelaySlot bd = PROTECT
|
| Register scratch2);
|
|
|
| // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace.
|
| - void InNewSpace(Register object,
|
| - Register scratch,
|
| - Condition cond, // eq for new space, ne otherwise.
|
| + void InNewSpace(Register object, Register scratch,
|
| + Condition cond, // ne for new space, eq otherwise.
|
| Label* branch);
|
|
|
| // Helper for finding the mark bits for an address. Afterwards, the
|
|
|