Nathan Froyd writes:

> On Tue, Oct 19, 2010 at 09:57:13PM +0200, Lluís wrote:
>> --- a/exec.c
>> +++ b/exec.c
>> @@ -688,6 +688,11 @@ static void page_flush_tb(void)
>> }
>> }
>> 
>> +void tb_flush_jmp_cache (CPUState * env)
>> +{
>> +    memset (env->tb_jmp_cache, 0, TB_JMP_CACHE_SIZE * sizeof (void *));
>> +}
>> +

> This is only used in this file.  Why not make it static?

I use it later on the instrumentation set of patches. Which reminds me
that I should have defined it as "inline".

Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth

Reply via email to