Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index dbf46782a4dff046b88c6a055cc54aad9fae6f07..1dd561bd061de10e5df926b0bd2b46ccb37b8a60 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -149,13 +149,13 @@ class MacroAssembler: public Assembler { |
// Compare the object in a register to a value and jump if they are equal. |
void JumpIfRoot(Register with, Heap::RootListIndex index, Label* if_equal, |
- Label::Distance if_equal_distance = Label::kNear) { |
+ Label::Distance if_equal_distance = Label::kFar) { |
CompareRoot(with, index); |
j(equal, if_equal, if_equal_distance); |
} |
void JumpIfRoot(const Operand& with, Heap::RootListIndex index, |
Label* if_equal, |
- Label::Distance if_equal_distance = Label::kNear) { |
+ Label::Distance if_equal_distance = Label::kFar) { |
CompareRoot(with, index); |
j(equal, if_equal, if_equal_distance); |
} |
@@ -163,13 +163,13 @@ class MacroAssembler: public Assembler { |
// Compare the object in a register to a value and jump if they are not equal. |
void JumpIfNotRoot(Register with, Heap::RootListIndex index, |
Label* if_not_equal, |
- Label::Distance if_not_equal_distance = Label::kNear) { |
+ Label::Distance if_not_equal_distance = Label::kFar) { |
CompareRoot(with, index); |
j(not_equal, if_not_equal, if_not_equal_distance); |
} |
void JumpIfNotRoot(const Operand& with, Heap::RootListIndex index, |
Label* if_not_equal, |
- Label::Distance if_not_equal_distance = Label::kNear) { |
+ Label::Distance if_not_equal_distance = Label::kFar) { |
CompareRoot(with, index); |
j(not_equal, if_not_equal, if_not_equal_distance); |
} |