Alamvic / druid

Meta-compiler to generate an optimised JIT compiler frontend based on an Interpreter definition
8 stars 6 forks source link

Check returned compilation results #155

Open PalumboN opened 2 months ago

PalumboN commented 2 months ago

Sometimes is returning ^0 and others ^ CompletePrimitive.

There is a logic in the PrimitiveIRGenerator to control this: https://github.com/Alamvic/druid/blob/5589445728e7d8b40b218cfa9c61320f263ad4f7/Druid/DRPrimitiveIRGenerator.class.st#L134-L139

But I'm not sure if it is working as expected.

Related https://github.com/pharo-project/pharo-vm/pull/824#discussion_r1660943471