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

diff --git a/vm/method.c b/vm/method.c
index eb618f2..37bd54d 100644
--- a/vm/method.c
+++ b/vm/method.c
@@ -95,6 +95,9 @@ int vm_method_init(struct vm_method *vmm,
                /* Hm, we're now modifying a cafebabe structure. */
                vmm->code_attribute.max_stack = 0;
                vmm->code_attribute.max_locals = vmm->args_count;
+
+               vmm->line_number_table_attribute.line_number_table_length = 0;
+               vmm->line_number_table_attribute.line_number_table = NULL;
                return 0;
        }
 
-- 
1.6.0.6


------------------------------------------------------------------------------
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to