| Index: src/x64/macro-assembler-x64.h
|
| diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h
|
| index db5f204cf8cea0cb1ac2adfd62c611d5add13877..c1c1b0474fa025dc0d3f5040b98f063f024f5833 100644
|
| --- a/src/x64/macro-assembler-x64.h
|
| +++ b/src/x64/macro-assembler-x64.h
|
| @@ -218,7 +218,7 @@ class MacroAssembler: public Assembler {
|
| Register scratch,
|
| Label* branch,
|
| Label::Distance distance = Label::kFar) {
|
| - InNewSpace(object, scratch, not_equal, branch, distance);
|
| + InNewSpace(object, scratch, zero, branch, distance);
|
| }
|
|
|
| // Check if object is in new space. Jumps if the object is in new space.
|
| @@ -227,7 +227,7 @@ class MacroAssembler: public Assembler {
|
| Register scratch,
|
| Label* branch,
|
| Label::Distance distance = Label::kFar) {
|
| - InNewSpace(object, scratch, equal, branch, distance);
|
| + InNewSpace(object, scratch, not_zero, branch, distance);
|
| }
|
|
|
| // Check if an object has the black incremental marking color. Also uses rcx!
|
|
|