|
From: <sv...@va...> - 2005-07-07 08:23:30
|
Author: sewardj
Date: 2005-07-07 09:22:51 +0100 (Thu, 07 Jul 2005)
New Revision: 4121
Log:
rm unused code
Modified:
trunk/coregrind/m_translate.c
Modified: trunk/coregrind/m_translate.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_translate.c 2005-07-06 20:22:16 UTC (rev 4120)
+++ trunk/coregrind/m_translate.c 2005-07-07 08:22:51 UTC (rev 4121)
@@ -339,42 +339,6 @@
}
=20
=20
-
-#if 0
- for (i =3D 0; i < bb_in->stmts_used; i++) {
- st =3D bb_in->stmts[i];
- if (!st)
- continue;
- if (st->tag !=3D Ist_Put)=20
- goto boring;
- offP =3D st->Ist.Put.offset;
- if (offP !=3D layout->offset_SP)=20
- goto boring;
- szP =3D sizeofIRType(typeOfIRExpr(bb_in->tyenv, st->Ist.Put.data))=
;
- if (szP !=3D layout->sizeof_SP)
- goto boring;
- vg_assert(isAtom(st->Ist.Put.data));
-
- /* I don't know if it's really necessary to say that the call read=
s
- the stack pointer. But anyway, we do. */ =20
- dcall =3D unsafeIRDirty_0_N(=20
- mkIRCallee(1, "VG_(unknown_esp_update)",=20
- (HWord)&VG_(unknown_esp_update)),
- mkIRExprVec_1(st->Ist.Put.data)=20
- );
- dcall->nFxState =3D 1;
- dcall->fxState[0].fx =3D Ifx_Read;
- dcall->fxState[0].offset =3D layout->offset_SP;
- dcall->fxState[0].size =3D layout->sizeof_SP;
-
- addStmtToIRBB( bb, IRStmt_Dirty(dcall) );
-
- boring:
- addStmtToIRBB( bb, st );
- }
-#endif
-
-
/*------------------------------------------------------------*/
/*--- Main entry point for the JITter. ---*/
/*------------------------------------------------------------*/
|