From bfb00494eb2ffaf4fbf68a8ecabe9e503f4cdf65 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Wed, 14 Mar 2012 15:39:16 +0100 Subject: [PATCH] Fix removal of vnrott Make vrotb ST_FUNC so that arm-gen.c can use vrotb. --- tcc.h | 1 + tccgen.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tcc.h b/tcc.h index a53dd78f..dde28321 100644 --- a/tcc.h +++ b/tcc.h @@ -1139,6 +1139,7 @@ ST_FUNC void vset(CType *type, int r, int v); ST_FUNC void vswap(void); ST_FUNC void vpush_global_sym(CType *type, int v); ST_FUNC void vrott(int n); +ST_FUNC void vrotb(int n); #ifdef TCC_TARGET_ARM ST_FUNC int get_reg_ex(int rc, int rc2); ST_FUNC void lexpand_nr(void); diff --git a/tccgen.c b/tccgen.c index 9339b5f0..5b9f50a0 100644 --- a/tccgen.c +++ b/tccgen.c @@ -961,7 +961,7 @@ static void lbuild(int t) /* rotate n first stack elements to the bottom I1 ... In -> I2 ... In I1 [top is right] */ -static void vrotb(int n) +ST_FUNC void vrotb(int n) { int i; SValue tmp;