invokedynamic and subclasses

2015-06-24 Thread Mike Jarmy
I've been experimenting with invokedynamic in a compiler for a dynamic language that I'm working on, and I've run into a problem that I'm having difficulty solving. Let's say I have a class called A (Java syntax used for clarity): public class A { } And another called B, that is a subcla

Re: invokedynamic and subclasses

2015-06-24 Thread Mike Jarmy
. > > cheers, > Rémi > > Le 24 juin 2015 14:19:32 CEST, Mike Jarmy a écrit : > >I've been experimenting with invokedynamic in a compiler for a dynamic > >language > >that I'm working on, and I've run into a problem that I'm having > >diffic

Re: invokedynamic and subclasses

2015-06-24 Thread Mike Jarmy
rse the callsite will have to be mutable then > > Does this help you out? It works quite good for Groovy. > > bye blackdrag > > > Am 24.06.2015 14:19, schrieb Mike Jarmy: > >> I've been experimenting with invokedynamic in a compiler for a dynamic >> language &

Re: invokedynamic and subclasses

2015-06-27 Thread Mike Jarmy
mall list of patterns, > https://code.google.com/p/jsr292-cookbook/ > > take a look to the first inlining cache example. > > cheers, > Rémi > > Le 24 juin 2015 14:19:32 CEST, Mike Jarmy a écrit : > >I've been experimenting with invokedynamic in a compiler for a