Index: src/x64/code-stubs-x64.h |
diff --git a/src/x64/code-stubs-x64.h b/src/x64/code-stubs-x64.h |
index 4e54cea12bf706fb429d68625781d5719310234f..8e1be0f106774d3a71198a14e33a3ef095b77b63 100644 |
--- a/src/x64/code-stubs-x64.h |
+++ b/src/x64/code-stubs-x64.h |
@@ -131,9 +131,14 @@ class TypeRecordingUnaryOpStub: public CodeStub { |
void GenerateSmiStub(MacroAssembler* masm); |
void GenerateSmiStubSub(MacroAssembler* masm); |
void GenerateSmiStubBitNot(MacroAssembler* masm); |
- void GenerateSmiCodeSub(MacroAssembler* masm, NearLabel* non_smi, |
- Label* slow); |
- void GenerateSmiCodeBitNot(MacroAssembler* masm, NearLabel* non_smi); |
+ void GenerateSmiCodeSub(MacroAssembler* masm, |
+ Label* non_smi, |
+ Label* slow, |
+ Label::Distance non_smi_near = Label::kFar, |
+ Label::Distance slow_near = Label::kFar); |
+ void GenerateSmiCodeBitNot(MacroAssembler* masm, |
+ Label* non_smi, |
+ Label::Distance non_smi_near); |
void GenerateHeapNumberStub(MacroAssembler* masm); |
void GenerateHeapNumberStubSub(MacroAssembler* masm); |
@@ -388,12 +393,14 @@ class StringCompareStub: public CodeStub { |
virtual int MinorKey() { return 0; } |
virtual void Generate(MacroAssembler* masm); |
- static void GenerateAsciiCharsCompareLoop(MacroAssembler* masm, |
- Register left, |
- Register right, |
- Register length, |
- Register scratch, |
- NearLabel* chars_not_equal); |
+ static void GenerateAsciiCharsCompareLoop( |
+ MacroAssembler* masm, |
+ Register left, |
+ Register right, |
+ Register length, |
+ Register scratch, |
+ Label* chars_not_equal, |
+ Label::Distance near_jump = Label::kFar); |
}; |