History

Fix removal of vnrott

Make vrotb ST_FUNC so that arm-gen.c can use vrotb.

Thomas Preud'homme committed 14 years ago

Commit bfb00491 parent 731e07f2 files · +2 −1Browse files

Unified · Split

2 files
  1. tcc.h +1 −0
  2. tccgen.c +1 −1
tcc.h+1−0
@@ -1139,6 +1139,7 @@ ST_FUNC void vset(CType *type, int r, int v); · 1138 unmodified lines
1139ST_FUNC void vswap(void);1139ST_FUNC void vswap(void);
1140ST_FUNC void vpush_global_sym(CType *type, int v);1140ST_FUNC void vpush_global_sym(CType *type, int v);
1141ST_FUNC void vrott(int n);1141ST_FUNC void vrott(int n);
1142ST_FUNC void vrotb(int n);
1142#ifdef TCC_TARGET_ARM1143#ifdef TCC_TARGET_ARM
1143ST_FUNC int get_reg_ex(int rc, int rc2);1144ST_FUNC int get_reg_ex(int rc, int rc2);
1144ST_FUNC void lexpand_nr(void);1145ST_FUNC void lexpand_nr(void);
tccgen.c+1−1
@@ -961,7 +961,7 @@ static void lbuild(int t) · 960 unmodified lines
961/* rotate n first stack elements to the bottom 961/* rotate n first stack elements to the bottom
962 I1 ... In -> I2 ... In I1 [top is right]962 I1 ... In -> I2 ... In I1 [top is right]
963*/963*/
964static void vrotb(int n)964ST_FUNC void vrotb(int n)
965{965{
966 int i;966 int i;
967 SValue tmp;967 SValue tmp;