Alamvic / druid

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

cogit + branch + pushes = flush simulated stack #66

Closed PalumboN closed 10 months ago

PalumboN commented 1 year ago

Now if you try to compile a Bytecode with branches and in each branch different values are pushed to the stack, then the simulated stack breaks.

See uses of ssFlushTo: in StackToRegisterMappingCogit >> genSpecialSelectorArithmetic.