Followup to r15101. Remove pointless cast. The castee already

has that type.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15104
This commit is contained in:
Florian Krohm 2015-04-17 08:56:11 +00:00
parent a10fc36f9f
commit 789084fb99

View File

@ -358,8 +358,8 @@ static void fill_prstatus(const ThreadState *tst,
regs->orig_gpr3 = arch->vex.guest_GPR3;
regs->ctr = arch->vex.guest_CTR;
regs->link = arch->vex.guest_LR;
regs->xer = LibVEX_GuestPPC64_get_XER( (const VexGuestPPC64State*) &(arch->vex) );
regs->ccr = LibVEX_GuestPPC64_get_CR( (const VexGuestPPC64State*) &(arch->vex) );
regs->xer = LibVEX_GuestPPC64_get_XER( &(arch->vex) );
regs->ccr = LibVEX_GuestPPC64_get_CR( &(arch->vex) );
/* regs->mq = 0; */
regs->trap = 0;
regs->dar = 0; /* should be fault address? */