tcg: Change ts->mem_reg to ts->mem_base
authorRichard Henderson <rth@twiddle.net>
Wed, 18 Sep 2013 21:12:53 +0000 (14:12 -0700)
committerRichard Henderson <rth@twiddle.net>
Mon, 8 Feb 2016 23:19:32 +0000 (10:19 +1100)
commitb3a62939561e07bc34493444fa926b6137cba4e8
tree102ae797802cb815eba8865980b4be3e9bffc145
parente1ccc05444676b92c63708096e36582be27fbee1
tcg: Change ts->mem_reg to ts->mem_base

Chain the temporaries together via pointers intstead of indices.
The mem_reg value is now mem_base->reg.  This will be important later.

This does require that the frame pointer have a global temporary
allocated for it.  This is simple bar the existing reserved_regs check.

Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/tcg.c
tcg/tcg.h