OSDN Git Service

tcg: Remove redundant pointer from TCGContext
authorStefan Weil <sw@weilnetz.de>
Thu, 4 Oct 2012 18:29:02 +0000 (20:29 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 7 Oct 2012 16:36:16 +0000 (16:36 +0000)
commitd838201111894b17ca9123d5d2a74ab4cf6376d6
tree50cbe1cb1015878e47234affc6c72d4a60c1b019
parent046dbab95f33e007428190610d638d2fcaf37fdf
tcg: Remove redundant pointer from TCGContext

The pointer entry 'temps' always refers to the array entry 'static_temps'.
Removing the pointer and renaming 'static_temps' to 'temps' reduces the
size of TCGContext (4 or 8 byte) and allows better code generation.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/tcg.c
tcg/tcg.h