• Damien George's avatar
    py: Improvements to native emitter. · b601d957
    Damien George authored
    Native emitter can now compile try/except blocks using nlr_push/nlr_pop.
    It probably only works for 1 level of exception handling.  It doesn't
    work on Thumb (only x64).
    
    Native emitter can also handle some additional op codes.
    
    With this patch, 198 tests now pass using "-X emit=native" option to
    micropython.
    b601d957
emitpass1.c 6.77 KB