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
11391139 ST_FUNC void vswap(void);
11401140 ST_FUNC void vpush_global_sym(CType *type, int v);
11411141 ST_FUNC void vrott(int n);
1142+ST_FUNC void vrotb(int n);
11421143 #ifdef TCC_TARGET_ARM
11431144 ST_FUNC int get_reg_ex(int rc, int rc2);
11441145 ST_FUNC void lexpand_nr(void);
tccgen.c+1−1
@@ -961,7 +961,7 @@ static void lbuild(int t) · 960 unmodified lines
961961 /* rotate n first stack elements to the bottom
962962 I1 ... In -> I2 ... In I1 [top is right]
963963 */
964−static void vrotb(int n)
964+ST_FUNC void vrotb(int n)
965965 {
966966 int i;
967967 SValue tmp;