]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
ppc64-linux fixes.
authorJulian Seward <jseward@acm.org>
Fri, 23 Dec 2005 12:47:42 +0000 (12:47 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 23 Dec 2005 12:47:42 +0000 (12:47 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5421

cachegrind/cg_main.c

index a1142ced99f29acaa934dfd45613eb6a00e6af68..81cabb52d842ce0bd694c4ba97bde7bbaff7a91f 100644 (file)
@@ -42,6 +42,7 @@
 #include "pub_tool_oset.h"
 #include "pub_tool_tooliface.h"
 #include "pub_tool_clientstate.h"
+#include "pub_tool_machine.h"      // VG_(fnptr_to_fnentry)
 
 #include "cg_arch.h"
 #include "cg_sim.c"
@@ -627,7 +628,9 @@ static void flushEvents ( CgState* cgs )
       tl_assert(helperName);
       tl_assert(helperAddr);
       tl_assert(argv);
-      di = unsafeIRDirty_0_N( regparms, helperName, helperAddr, argv);
+      di = unsafeIRDirty_0_N( regparms, 
+                              helperName, VG_(fnptr_to_fnentry)( helperAddr ), 
+                              argv );
       addStmtToIRBB( cgs->bbOut, IRStmt_Dirty(di) );
    }