Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
---
 jit/trampoline.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/jit/trampoline.c b/jit/trampoline.c
index 303abc7..e5b0f55 100644
--- a/jit/trampoline.c
+++ b/jit/trampoline.c
@@ -48,6 +48,8 @@ static void *jit_native_trampoline(struct compilation_unit 
*cu)
        if (!ret)
                die("no native function found for %s.%s", class_name, 
method_name);
 
+       add_cu_mapping((unsigned long)ret, cu);
+
        return ret;
 }
 
-- 
1.6.0.6


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to