From 89eccddde7643a8c30fe3a45c74a2ea39ad99482 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Sat, 25 Apr 2009 22:35:51 -0500 Subject: [PATCH] quotations.c: fix quot_code_offset_to_scan --- vm/quotations.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vm/quotations.c b/vm/quotations.c index 6291bd6839..7835d46e14 100755 --- a/vm/quotations.c +++ b/vm/quotations.c @@ -368,10 +368,10 @@ struct.) */ offset -= size; \ } -#define COUNT_TAIL_CALL(name,scan) { \ - if(stack_frame) COUNT(JIT_EPILOG,scan) \ - tail_call = true; \ - COUNT(name,scan); \ +#define COUNT_TAIL_CALL(name,scan) { \ + if(stack_frame) COUNT(userenv[JIT_EPILOG],scan) \ + tail_call = true; \ + COUNT(name,scan); \ } F_FIXNUM quot_code_offset_to_scan(CELL quot, F_FIXNUM offset)