Revision d43ffce1 tcg/mips/tcg-target.c
b/tcg/mips/tcg-target.c | ||
---|---|---|
352 | 352 |
static inline void tcg_out_opc_br(TCGContext *s, int opc, int rt, int rs) |
353 | 353 |
{ |
354 | 354 |
/* We need to keep the offset unchanged for retranslation */ |
355 |
uint16_t offset = (uint16_t)(*(uint32_t *) &s->code_ptr);
|
|
355 |
uint16_t offset = (uint16_t)(*(uint32_t *) s->code_ptr); |
|
356 | 356 |
|
357 | 357 |
tcg_out_opc_imm(s, opc, rt, rs, offset); |
358 | 358 |
} |
Also available in: Unified diff