Author: sewardj Date: 2006-12-24 02:20:24 +0000 (Sun, 24 Dec 2006) New Revision: 1689 Log: A large but non-functional commit: as suggested by Nick, rename some IR types, structure fields and functions to make IR a bit easier to understand. Specifically: dopyIR* -> deepCopyIR* sopyIR* -> shallowCopyIR* The presence of a .Tmp union in both IRExpr and IRStmt is=20 confusing. It has been renamed to RdTmp in IRExpr, reflecting=20 the fact that here we are getting the value of an IRTemp, and to=20 WrTmp in IRStmt, reflecting the fact that here we are assigning=20 to an IRTemp. IRBB (IR Basic Block) is renamed to IRSB (IR SuperBlock), reflecting the reality that Vex does not really operate in terms of basic blocks, but in terms of superblocks - single entry, multiple exit sequences. IRArray is renamed to IRRegArray, to make it clearer it refers to arrays of guest registers and not arrays in memory. VexMiscInfo is renamed to VexAbiInfo, since that's what it is -- relevant facts about the ABI (calling conventions, etc) for both the guest and host platforms. Modified: trunk/priv/guest-amd64/gdefs.h trunk/priv/guest-amd64/toIR.c trunk/priv/guest-arm/gdefs.h trunk/priv/guest-arm/toIR.c trunk/priv/guest-generic/bb_to_IR.c trunk/priv/guest-generic/bb_to_IR.h trunk/priv/guest-ppc/gdefs.h trunk/priv/guest-ppc/toIR.c trunk/priv/guest-x86/gdefs.h trunk/priv/guest-x86/toIR.c trunk/priv/host-amd64/hdefs.h trunk/priv/host-amd64/isel.c trunk/priv/host-arm/hdefs.h trunk/priv/host-arm/isel.c trunk/priv/host-ppc/hdefs.h trunk/priv/host-ppc/isel.c trunk/priv/host-x86/hdefs.h trunk/priv/host-x86/isel.c trunk/priv/ir/irdefs.c trunk/priv/ir/iropt.c trunk/priv/ir/iropt.h trunk/priv/main/vex_main.c trunk/pub/libvex.h trunk/pub/libvex_ir.h trunk/test_main.c [... diff too large to include ...] |