| Index: src/ia32/assembler-ia32.h
|
| diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h
|
| index af41cb50aca1ddb194b04c05585f517271df316f..debe3eafb9d9bee84d22de63c01fef63639b0ded 100644
|
| --- a/src/ia32/assembler-ia32.h
|
| +++ b/src/ia32/assembler-ia32.h
|
| @@ -842,6 +842,7 @@ class Assembler : public AssemblerBase {
|
| // but it may be bound only once.
|
|
|
| void bind(Label* L); // binds an unbound label L to the current code position
|
| + // DEPRECATED. Use bind(Label*) with jmp(Label*, Label::kNear) instead.
|
| void bind(NearLabel* L);
|
|
|
| // Calls
|
| @@ -855,20 +856,22 @@ class Assembler : public AssemblerBase {
|
| unsigned ast_id = kNoASTId);
|
|
|
| // Jumps
|
| - void jmp(Label* L); // unconditional jump to L
|
| + void jmp(Label* L, bool near = Label::kFar); // unconditional jump to L
|
| void jmp(byte* entry, RelocInfo::Mode rmode);
|
| void jmp(const Operand& adr);
|
| void jmp(Handle<Code> code, RelocInfo::Mode rmode);
|
|
|
| // Short jump
|
| + // DEPRECATED. Use jmp(Label*, Label::kNear) instead.
|
| void jmp(NearLabel* L);
|
|
|
| // Conditional jumps
|
| - void j(Condition cc, Label* L, Hint hint = no_hint);
|
| + void j(Condition cc, Label* L, bool near = Label::kFar, Hint hint = no_hint);
|
| void j(Condition cc, byte* entry, RelocInfo::Mode rmode, Hint hint = no_hint);
|
| void j(Condition cc, Handle<Code> code, Hint hint = no_hint);
|
|
|
| // Conditional short jump
|
| + // DEPRECATED. Use j(Condition, Label*, Label::kNear) instead.
|
| void j(Condition cc, NearLabel* L, Hint hint = no_hint);
|
|
|
| // Floating-point operations
|
| @@ -1105,6 +1108,7 @@ class Assembler : public AssemblerBase {
|
| inline Displacement disp_at(Label* L);
|
| inline void disp_at_put(Label* L, Displacement disp);
|
| inline void emit_disp(Label* L, Displacement::Type type);
|
| + inline void emit_near_disp(Label* L);
|
|
|
| // record reloc info for current pc_
|
| void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0);
|
|
|