From: Julian Seward Date: Wed, 30 Mar 2005 18:26:52 +0000 (+0000) Subject: rm unused function X-Git-Tag: svn/VALGRIND_3_0_0~836 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bf001505268b058643239c80d6ebad366e9588f;p=thirdparty%2Fvalgrind.git rm unused function git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3482 --- diff --git a/coregrind/amd64/dispatch.S b/coregrind/amd64/dispatch.S index ef31330239..2fcbb165b7 100644 --- a/coregrind/amd64/dispatch.S +++ b/coregrind/amd64/dispatch.S @@ -32,40 +32,7 @@ #include "core_asm.h" #include "amd64_private_asm.h" -/*------------------------------------------------------------*/ -/*--- The dispatch loop. ---*/ -/*------------------------------------------------------------*/ - -.globl switchback -switchback: - /* %rdi -> guest state */ - /* %rsi is rflags */ - movq 0(%rdi), %rax - movq 8(%rdi), %rcx - movq 16(%rdi), %rdx - movq 24(%rdi), %rbx - movq 32(%rdi), %rsp - movq 40(%rdi), %rbp - movq 64(%rdi), %r8 - movq 72(%rdi), %r9 - movq 80(%rdi), %r10 - movq 88(%rdi), %r11 - movq 96(%rdi), %r12 - movq 104(%rdi), %r13 - movq 112(%rdi), %r14 - movq 120(%rdi), %r15 - /* now we need to deal with rsi rdi rflags rip */ - - pushq 168(%rdi) /* %RIP -> stack */ - pushq %rsi - popfq - - movq 48(%rdi), %rsi - movq 56(%rdi), %rdi - - ret - /*------------------------------------------------------------*/ /*--- The dispatch loop. ---*/ /*------------------------------------------------------------*/