|
From: Julian S. <js...@ac...> - 2003-11-03 14:45:58
|
CVS commit by jseward:
Merge rev 1.107:
Move var declarations to start of block, for older versions of gcc.
M +2 -2 vg_to_ucode.c 1.87.2.10
--- valgrind/coregrind/vg_to_ucode.c #1.87.2.9:1.87.2.10
@@ -3580,6 +3580,6 @@ static
void dis_push_segreg ( UCodeBlock* cb, UInt sreg, Int sz )
{
- vg_assert(sz == 4);
Int t1 = newTemp(cb), t2 = newTemp(cb);
+ vg_assert(sz == 4);
uInstr2(cb, GETSEG, 2, ArchRegS, sreg, TempReg, t1);
uInstr2(cb, GET, 4, ArchReg, R_ESP, TempReg, t2);
@@ -3595,6 +3595,6 @@ static
void dis_pop_segreg ( UCodeBlock* cb, UInt sreg, Int sz )
{
- vg_assert(sz == 4);
Int t1 = newTemp(cb), t2 = newTemp(cb);
+ vg_assert(sz == 4);
uInstr2(cb, GET, 4, ArchReg, R_ESP, TempReg, t2);
uInstr2(cb, LOAD, 2, TempReg, t2, TempReg, t1);
|