Skip to content
  • Alan Wu's avatar
    5906a5a7
    Add comments about special runtime routines YJIT calls · 5906a5a7
    Alan Wu authored
    When YJIT make calls to routines without reconstructing interpreter
    state through jit_prepare_routine_call(), it relies on the routine to
    never allocate, raise, and push/pop control frames. Comment about this
    on the routines that YJTI calls.
    
    This is probably something we should dynamically verify on debug builds.
    It's hard to statically verify this as it requires verifying all
    functions in the call tree. Maybe something to look at in the future.
    5906a5a7
    Add comments about special runtime routines YJIT calls
    Alan Wu authored
    When YJIT make calls to routines without reconstructing interpreter
    state through jit_prepare_routine_call(), it relies on the routine to
    never allocate, raise, and push/pop control frames. Comment about this
    on the routines that YJTI calls.
    
    This is probably something we should dynamically verify on debug builds.
    It's hard to statically verify this as it requires verifying all
    functions in the call tree. Maybe something to look at in the future.
Loading