* src/vm/jit/m68k/md.h: Replaced codegen_get_pv_from_pc with
authorChristian Thalinger <twisti@complang.tuwien.ac.at>
Mon, 17 Mar 2008 09:56:12 +0000 (10:56 +0100)
committerChristian Thalinger <twisti@complang.tuwien.ac.at>
Mon, 17 Mar 2008 09:56:12 +0000 (10:56 +0100)
methodtree_find.

--HG--
branch : methodtree-branch

src/vm/jit/m68k/md.h

index 3ef67014ee853bdb893648fa7af0c4fc9f2e3b49..bc64f4c73587868764b66054f8b02db2dbde342b 100644 (file)
@@ -34,6 +34,7 @@
 #include <stdint.h>
 
 #include "vm/jit/codegen-common.h"
+#include "vm/jit/methodtree.h"
 
 
 /* md_stacktrace_get_returnaddress *********************************************
@@ -48,8 +49,7 @@ void *md_stacktrace_get_returnaddress(void *sp, int32_t stackframesize);
 
 /* md_codegen_get_pv_from_pc ***************************************************
 
-   On this architecture just a wrapper function to
-   codegen_get_pv_from_pc.
+   On this architecture just a wrapper function to methodtree_find.
 
 *******************************************************************************/
 
@@ -57,7 +57,7 @@ inline static void *md_codegen_get_pv_from_pc(void *ra)
 {
        void *pv;
 
-       pv = codegen_get_pv_from_pc(ra);
+       pv = methodtree_find(ra);
 
        return pv;
 }