chc4 / lineiform

A meta-JIT library for Rust interpreters
156 stars 4 forks source link

Abort compilation properly #13

Open chc4 opened 2 years ago

chc4 commented 2 years ago

Right now we just have unwrap() in a bunch of places during JIT compilation. If we fail to e.g. resolve a symbol we should instead abort compilation and continue using the slow one, and if we fail to lift an instruction we should concretize the context and jump to the original closure body instruction.