Commit bcd55e15 authored by Michael Starzinger's avatar Michael Starzinger Committed by Commit Bot

[x64] Remove dead {Assembler::call} method.

R=clemensb@chromium.org

Change-Id: I8dea48c688e827c9793f266a77781faee2c6a415
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1900461Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64815}
parent 802a86a4
......@@ -1113,20 +1113,6 @@ void Assembler::call(Operand op) {
emit_operand(0x2, op);
}
// Calls directly to the given address using a relative offset.
// Should only ever be used in Code objects for calls within the
// same Code object. Should not be used when generating new code (use labels),
// but only when patching existing code.
void Assembler::call(Address target) {
EnsureSpace ensure_space(this);
// 1110 1000 #32-bit disp.
emit(0xE8);
Address source = reinterpret_cast<Address>(pc_) + 4;
intptr_t displacement = target - source;
DCHECK(is_int32(displacement));
emitl(static_cast<int32_t>(displacement));
}
void Assembler::clc() {
EnsureSpace ensure_space(this);
emit(0xF8);
......
......@@ -732,12 +732,6 @@ class V8_EXPORT_PRIVATE Assembler : public AssemblerBase {
void call(Handle<Code> target,
RelocInfo::Mode rmode = RelocInfo::CODE_TARGET);
// Calls directly to the given address using a relative offset.
// Should only ever be used in Code objects for calls within the
// same Code object. Should not be used when generating new code (use labels),
// but only when patching existing code.
void call(Address target);
// Call near absolute indirect, address in register
void call(Register adr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment