[Truffle] Loop count propagation
Chris Seaton
chris.seaton at oracle.com
Wed May 28 14:05:16 UTC 2014
On 28 May 2014, at 14:58, Stefan Marr <java at stefan-marr.de> wrote:
> Ok, well, those things are entirely in SOM. Only few operations are currently optimized/reimplemented.
> Not sure whether it is worthwhile to go further there, will see when I got the latest comparison numbers.
You are probably better off keeping them in SOM if you can. I intend to move in that direction at some point. Some of my code is now Ruby code written as explicit ASTs. For example this is part of a method prelude, basically written as Ruby by manually creating nodes:
https://github.com/jruby/jruby/blob/master/core/src/main/java/org/jruby/truffle/translator/MethodTranslator.java#L108-L115
Chris
More information about the graal-dev
mailing list