| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index 023e581680c472fc70fe4519ad59af462997ae83..e45ef3e522467223a9f3134bf8a4f8bb6ece7fa7 100644
|
| --- a/src/x64/builtins-x64.cc
|
| +++ b/src/x64/builtins-x64.cc
|
| @@ -576,15 +576,15 @@ static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm,
|
| __ SmiToInteger32(rcx, Operand(rsp, 1 * kPointerSize));
|
|
|
| // Switch on the state.
|
| - NearLabel not_no_registers, not_tos_rax;
|
| + Label not_no_registers, not_tos_rax;
|
| __ cmpq(rcx, Immediate(FullCodeGenerator::NO_REGISTERS));
|
| - __ j(not_equal, ¬_no_registers);
|
| + __ j(not_equal, ¬_no_registers, Label::kNear);
|
| __ ret(1 * kPointerSize); // Remove state.
|
|
|
| __ bind(¬_no_registers);
|
| __ movq(rax, Operand(rsp, 2 * kPointerSize));
|
| __ cmpq(rcx, Immediate(FullCodeGenerator::TOS_REG));
|
| - __ j(not_equal, ¬_tos_rax);
|
| + __ j(not_equal, ¬_tos_rax, Label::kNear);
|
| __ ret(2 * kPointerSize); // Remove state, rax.
|
|
|
| __ bind(¬_tos_rax);
|
| @@ -1474,17 +1474,17 @@ void Builtins::Generate_OnStackReplacement(MacroAssembler* masm) {
|
|
|
| // If the result was -1 it means that we couldn't optimize the
|
| // function. Just return and continue in the unoptimized version.
|
| - NearLabel skip;
|
| + Label skip;
|
| __ SmiCompare(rax, Smi::FromInt(-1));
|
| - __ j(not_equal, &skip);
|
| + __ j(not_equal, &skip, Label::kNear);
|
| __ ret(0);
|
|
|
| // If we decide not to perform on-stack replacement we perform a
|
| // stack guard check to enable interrupts.
|
| __ bind(&stack_check);
|
| - NearLabel ok;
|
| + Label ok;
|
| __ CompareRoot(rsp, Heap::kStackLimitRootIndex);
|
| - __ j(above_equal, &ok);
|
| + __ j(above_equal, &ok, Label::kNear);
|
|
|
| StackCheckStub stub;
|
| __ TailCallStub(&stub);
|
|
|