Index: src/ppc/macro-assembler-ppc.h |
diff --git a/src/ppc/macro-assembler-ppc.h b/src/ppc/macro-assembler-ppc.h |
index b99a724e718eedf98b6d403465cdc6a7709d1f53..b4498f26df0fbe43f7b651abda1a31081d6c7228 100644 |
--- a/src/ppc/macro-assembler-ppc.h |
+++ b/src/ppc/macro-assembler-ppc.h |
@@ -203,13 +203,13 @@ class MacroAssembler : public Assembler { |
// Check if object is in new space. Jumps if the object is not in new space. |
// The register scratch can be object itself, but scratch will be clobbered. |
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. |
// The register scratch can be object itself, but it will be clobbered. |
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. |