|
From: <sv...@va...> - 2015-04-17 08:56:19
|
Author: florian
Date: Fri Apr 17 09:56:11 2015
New Revision: 15104
Log:
Followup to r15101. Remove pointless cast. The castee already
has that type.
Modified:
trunk/coregrind/m_coredump/coredump-elf.c
Modified: trunk/coregrind/m_coredump/coredump-elf.c
==============================================================================
--- trunk/coregrind/m_coredump/coredump-elf.c (original)
+++ trunk/coregrind/m_coredump/coredump-elf.c Fri Apr 17 09:56:11 2015
@@ -358,8 +358,8 @@
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? */
|