Commit c35d8c36 authored by Simon Marlow's avatar Simon Marlow
Browse files

remove some dead code

parent 14d5e04a
......@@ -152,7 +152,8 @@ createAdjustor (int cconv,
#else
#define UNDERSCORE ""
#endif
#if defined(i386_HOST_ARCH) && !defined(darwin_HOST_OS)
#if defined(x86_64_HOST_ARCH)
/*
Now here's something obscure for you:
......@@ -170,20 +171,6 @@ createAdjustor (int cconv,
returning in some static piece of memory and arrange
to return to it before tail jumping from the adjustor thunk.
*/
static void GNUC3_ATTRIBUTE(used) obscure_ccall_wrapper(void)
{
__asm__ (
".globl " UNDERSCORE "obscure_ccall_ret_code\n"
UNDERSCORE "obscure_ccall_ret_code:\n\t"
"addl $0x4, %esp\n\t"
"ret"
);
}
extern void obscure_ccall_ret_code(void);
#endif
#if defined(x86_64_HOST_ARCH)
static void GNUC3_ATTRIBUTE(used) obscure_ccall_wrapper(void)
{
__asm__ (
......
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