Ticket #1777: tt1777-avoid-inline.patch

File tt1777-avoid-inline.patch, 468 bytes (added by doughera, 4 years ago)

Avoid inlining PF_fetch_opcode

  • src/packfile/pf_items.c

     
    957957PARROT_WARN_UNUSED_RESULT 
    958958PARROT_CANNOT_RETURN_NULL 
    959959opcode_t 
     960#ifdef __GNUC__ /* See TT #1777 */ 
     961__attribute__ ((__noinline__)) 
     962#endif 
    960963PF_fetch_opcode(ARGIN_NULLOK(const PackFile *pf), ARGMOD(const opcode_t **stream)) 
    961964{ 
    962965    ASSERT_ARGS(PF_fetch_opcode)