OSDN Git Service

tcg/optimize: add temp_is_const and temp_is_copy functions
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 27 Jul 2015 10:41:44 +0000 (12:41 +0200)
committerRichard Henderson <rth@twiddle.net>
Mon, 24 Aug 2015 18:10:53 +0000 (11:10 -0700)
commitd9c769c60948815ee03b2684b1c1c68ee4375149
treed0670ebda4e00772aba84c55d94bd5e9d237e700
parent1208d7dd5fddc1fbd98de800d17429b4e5578848
tcg/optimize: add temp_is_const and temp_is_copy functions

Add two accessor functions temp_is_const and temp_is_copy, to make the
code more readable and make code change easier.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/optimize.c