Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index ef513d1e534801382c0f385a3930e7f3597e93ed..06aa17d6caba9a1078dc3afe995eaacc08c575e5 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -1260,9 +1260,6 @@ class Assembler : public AssemblerBase { |
// Call near absolute indirect, address in register |
void call(Register adr); |
- // Call near indirect |
- void call(const Operand& operand); |
- |
// Jumps |
// Jump short or near relative. |
// Use a 32-bit signed displacement. |
@@ -1274,9 +1271,6 @@ class Assembler : public AssemblerBase { |
// Jump near absolute indirect (r64) |
void jmp(Register adr); |
- // Jump near absolute indirect (m64) |
- void jmp(const Operand& src); |
- |
// Conditional jumps |
void j(Condition cc, |
Label* L, |
@@ -1499,6 +1493,13 @@ class Assembler : public AssemblerBase { |
byte byte_at(int pos) { return buffer_[pos]; } |
void set_byte_at(int pos, byte value) { buffer_[pos] = value; } |
+ protected: |
+ // Call near indirect |
+ void call(const Operand& operand); |
+ |
+ // Jump near absolute indirect (m64) |
+ void jmp(const Operand& src); |
+ |
private: |
byte* addr_at(int pos) { return buffer_ + pos; } |
uint32_t long_at(int pos) { |