Signed-off-by: Vegard Nossum <[email protected]>
---
 jit/gc-map.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/jit/gc-map.c b/jit/gc-map.c
index 997c7e6..a341f17 100644
--- a/jit/gc-map.c
+++ b/jit/gc-map.c
@@ -26,6 +26,9 @@ int gc_map_init(struct compilation_unit *cu)
 
                        struct var_info *var;
                        for_each_variable(var, cu->var_infos) {
+                               if  (var->vm_type != J_REFERENCE)
+                                       continue;
+
                                if (!in_range(&var->interval->range,
                                        insn->mach_offset))
                                {
-- 
1.6.0.6


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to