[racket-dev] Another JIT question

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sat May 11 15:12:51 EDT 2013

Great!


On Sat, May 11, 2013 at 2:11 PM, Jon Zeppieri <zeppieri at gmail.com> wrote:

> Ok, I fixed this problem. I had just left out tests for immediates in
> a number of places. I think I was confused because certain expressions
> like
>
> (syntax? #\c)
>
> ... seemed to be working just fine, but I think they were not actually
> working in the JIT. I suspect they were constant-folded before even
> getting there.
>
> Thanks for your help, Matthew and Robby.
>
> -Jon
>
>
>
> On Sat, May 11, 2013 at 1:56 PM, Jon Zeppieri <zeppieri at gmail.com> wrote:
> > Something to do with syntax, I think, but I'm not sure what:
> >
> >> (datum->syntax #f #\c)
> > #<syntax #\c>
> >
> >> ((current-prompt-read))
> >> #\c
> > #<syntax::25 #\c>
> >
> >> (read-syntax)
> > #\c
> > #<syntax::15 #\c>
> >
> >> (syntax #\c)
> > Segmentation fault: 11
> >
> >> (quasisyntax #\c)
> > Segmentation fault: 11
> >
> > They all work when the JIT is disabled.
> >
> > -Jon
> >
> >
> >
> > On Sat, May 11, 2013 at 1:32 PM, Jon Zeppieri <zeppieri at gmail.com>
> wrote:
> >> On Sat, May 11, 2013 at 1:31 PM, Robby Findler
> >> <robby at eecs.northwestern.edu> wrote:
> >>> Relatedly, does this crash?
> >>>
> >>> (parameterize ([current-input-port (open-input-string "#\\c")])
> >>> (read-eval-print-loop))
> >>
> >> Yes, it does. I will take a look at the code in misc.rkt. Thanks!
> >>
> >> -Jon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20130511/04f1f1ce/attachment-0001.html>

Posted on the dev mailing list.