Fix removal of vnrott

Make vrotb ST_FUNC so that arm-gen.c can use vrotb.
This commit is contained in:
Thomas Preud'homme 2012-03-14 15:39:16 +01:00
parent 731e07f175
commit bfb00494eb
2 changed files with 2 additions and 1 deletions

1
tcc.h
View File

@ -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);

View File

@ -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;