Branch: Tag:

2019-09-03

2019-09-03 09:23:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler and runtime: Added byte codes F_PUSH_CATCHES and F_CATCH_AT.

These are needed to be able to save and restore the recovery context
for generator functions.

Updates the code generators for quite a few machine code backends.

679: Inside #if defined(PIKE_USE_MACHINE_CODE) and #if defined(OPCODE_INLINE_RETURN)
  #endif   #ifdef OPCODE_INLINE_RETURN   PIKE_OPCODE_T *inter_return_opcode_F_CATCH(PIKE_OPCODE_T *addr); + PIKE_OPCODE_T *inter_return_opcode_F_CATCH_AT(PIKE_OPCODE_T *addr);   #endif   #ifdef OPCODE_INLINE_CATCH   PIKE_OPCODE_T *setup_catch_context(PIKE_OPCODE_T *addr); -  + PIKE_OPCODE_T *setup_catch_at_context(PIKE_OPCODE_T *addr);   PIKE_OPCODE_T *handle_caught_exception(void);   #endif   #ifdef PIKE_DEBUG