* src/vm/jit/x86_64/patcher.c (patcher_resolve_native_function):
authorChristian Thalinger <twisti@complang.tuwien.ac.at>
Fri, 7 Sep 2007 23:53:30 +0000 (01:53 +0200)
committerChristian Thalinger <twisti@complang.tuwien.ac.at>
Fri, 7 Sep 2007 23:53:30 +0000 (01:53 +0200)
Removed.

--HG--
branch : michi
extra : transplant_source : %BB%EE%0A%3C%3F4%0C%9A5%852R%04%DEz%21%1B%FF%D2%D1

src/vm/jit/x86_64/patcher.c

index 6df31c6d80d5b053af4086bf0025e3e4a3928c52..61a328e0bd1f929e55477a2cb49b54153ba9ab36 100644 (file)
@@ -192,36 +192,6 @@ bool patcher_resolve_classref_to_flags(patchref_t *pr)
 }
 
 
-/* patcher_resolve_native_function *********************************************
-
-   XXX
-
-*******************************************************************************/
-
-bool patcher_resolve_native_function(patchref_t *pr)
-{
-       methodinfo  *m;
-       intptr_t    *datap;
-       functionptr  f;
-
-       m     = (methodinfo *) pr->ref;
-       datap = (intptr_t *)   pr->datap;
-
-       /* resolve native function */
-
-       if (!(f = native_resolve_function(m)))
-               return false;
-
-       PATCH_BACK_ORIGINAL_MCODE;
-
-       /* patch native function pointer */
-
-       *datap = (intptr_t) f;
-
-       return true;
-}
-
-
 /* patcher_get_putstatic *******************************************************
 
    Machine code: