aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/translate.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-19 21:46:06 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-19 21:46:06 +0000
commit820e00f252239465e1df507b6fabcffd6b7b6983 (patch)
tree512b6edd7cbddfb7d5dec51b6d1a46e6b09e8ec2 /target-ppc/translate.c
parentfaab7592c76ea67c970708c1cb64757bb178062e (diff)
Define gen_intermediate_code_internal as "static inline".
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2512 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/translate.c')
-rw-r--r--target-ppc/translate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index 82919a5875..d9be35d6c6 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -4604,8 +4604,9 @@ void cpu_dump_statistics (CPUState *env, FILE*f,
}
/*****************************************************************************/
-int gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb,
- int search_pc)
+static inline int
+gen_intermediate_code_internal (CPUState *env, TranslationBlock *tb,
+ int search_pc)
{
DisasContext ctx, *ctxp = &ctx;
opc_handler_t **table, *handler;