aboutsummaryrefslogtreecommitdiff
path: root/tcg/tcg.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-08-20 15:12:31 -0700
committerRichard Henderson <rth@twiddle.net>2013-09-02 09:08:29 -0700
commite2c6d1b42d34539120c3cee159dcd9e32cba7d3b (patch)
tree9849c2496398d98b91fa1a947f7ea18fe09b3157 /tcg/tcg.h
parent8b73d49f53e1a1d1571ac783ec028ff27befd93e (diff)
downloadqemu-e2c6d1b42d34539120c3cee159dcd9e32cba7d3b.zip
qemu-e2c6d1b42d34539120c3cee159dcd9e32cba7d3b.tar.gz
qemu-e2c6d1b42d34539120c3cee159dcd9e32cba7d3b.tar.bz2
tcg: Change frame pointer offsets to intptr_t
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r--tcg/tcg.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/tcg/tcg.h b/tcg/tcg.h
index bb215a7..b7e112e 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -435,9 +435,9 @@ struct TCGContext {
into account fixed registers */
int reg_to_temp[TCG_TARGET_NB_REGS];
TCGRegSet reserved_regs;
- tcg_target_long current_frame_offset;
- tcg_target_long frame_start;
- tcg_target_long frame_end;
+ intptr_t current_frame_offset;
+ intptr_t frame_start;
+ intptr_t frame_end;
int frame_reg;
uint8_t *code_ptr;
@@ -530,8 +530,7 @@ void tcg_func_start(TCGContext *s);
int tcg_gen_code(TCGContext *s, uint8_t *gen_code_buf);
int tcg_gen_code_search_pc(TCGContext *s, uint8_t *gen_code_buf, long offset);
-void tcg_set_frame(TCGContext *s, int reg,
- tcg_target_long start, tcg_target_long size);
+void tcg_set_frame(TCGContext *s, int reg, intptr_t start, intptr_t size);
TCGv_i32 tcg_global_reg_new_i32(int reg, const char *name);
TCGv_i32 tcg_global_mem_new_i32(int reg, tcg_target_long offset,