Branch: Tag:

2017-07-20

2017-07-20 14:59:12 by Martin Nilsson <nilsson@fastmail.com>

Use get_unaligned instead of EXTRACT_

66:   #endif      #define LOW_GET_JUMP() \ -  EXTRACT_INT(PROG_COUNTER + JUMP_EPILOGUE_SIZE) +  (INT32)get_unaligned32(PROG_COUNTER + JUMP_EPILOGUE_SIZE)   #define LOW_SKIPJUMP() \    (SET_PROG_COUNTER(PROG_COUNTER + JUMP_EPILOGUE_SIZE + sizeof(INT32)))   
81:    } while(0)   #define ins_byte(VAL) add_to_program(VAL)   #define ins_data(VAL) ins_int((VAL), (void (*)(char))add_to_program) - #define read_program_data(PTR, OFF) EXTRACT_INT((PTR) + (sizeof(INT32)*(OFF))) + #define read_program_data(PTR, OFF) (INT32)get_unaligned32((PTR) + (sizeof(INT32)*(OFF)))      void amd64_update_pc(void);