Revision e2c6d1b4

b/tcg/tcg.c
306 306
#endif
307 307
}
308 308

  
309
void tcg_set_frame(TCGContext *s, int reg,
310
                   tcg_target_long start, tcg_target_long size)
309
void tcg_set_frame(TCGContext *s, int reg, intptr_t start, intptr_t size)
311 310
{
312 311
    s->frame_start = start;
313 312
    s->frame_end = start + size;
......
1613 1612
    ts->mem_offset = s->current_frame_offset;
1614 1613
    ts->mem_reg = s->frame_reg;
1615 1614
    ts->mem_allocated = 1;
1616
    s->current_frame_offset += (tcg_target_long)sizeof(tcg_target_long);
1615
    s->current_frame_offset += sizeof(tcg_target_long);
1617 1616
}
1618 1617

  
1619 1618
/* sync register 'reg' by saving it to the corresponding temporary */
b/tcg/tcg.h
435 435
       into account fixed registers */
436 436
    int reg_to_temp[TCG_TARGET_NB_REGS];
437 437
    TCGRegSet reserved_regs;
438
    tcg_target_long current_frame_offset;
439
    tcg_target_long frame_start;
440
    tcg_target_long frame_end;
438
    intptr_t current_frame_offset;
439
    intptr_t frame_start;
440
    intptr_t frame_end;
441 441
    int frame_reg;
442 442

  
443 443
    uint8_t *code_ptr;
......
530 530
int tcg_gen_code(TCGContext *s, uint8_t *gen_code_buf);
531 531
int tcg_gen_code_search_pc(TCGContext *s, uint8_t *gen_code_buf, long offset);
532 532

  
533
void tcg_set_frame(TCGContext *s, int reg,
534
                   tcg_target_long start, tcg_target_long size);
533
void tcg_set_frame(TCGContext *s, int reg, intptr_t start, intptr_t size);
535 534

  
536 535
TCGv_i32 tcg_global_reg_new_i32(int reg, const char *name);
537 536
TCGv_i32 tcg_global_mem_new_i32(int reg, tcg_target_long offset,

Also available in: Unified diff