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

diff --git a/jit/bytecode-to-ir.c b/jit/bytecode-to-ir.c
index 30444c5..7ddb7fa 100644
--- a/jit/bytecode-to-ir.c
+++ b/jit/bytecode-to-ir.c
@@ -84,7 +84,7 @@ static convert_fn_t converters[] = {
 
 void convert_expression(struct parse_context *ctx, struct expression *expr)
 {
-       expr->bytecode_offset = ctx->offset;
+       tree_patch_bc_offset(&expr->node, ctx->offset);
        stack_push(ctx->bb->mimic_stack, expr);
 }
 
-- 
1.6.0.6


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to