]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Move comment to the right place.
authorNicholas Nethercote <njn@valgrind.org>
Sun, 12 Jun 2005 00:06:24 +0000 (00:06 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sun, 12 Jun 2005 00:06:24 +0000 (00:06 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3893

coregrind/core.h
coregrind/pub_core_libcbase.h

index b1a90b05cda6a32ebb5d87bbd217f39cbb6a942d..4111d08f5b401ddead60ac1ef94ce4de3852e4b8 100644 (file)
@@ -148,12 +148,6 @@ extern void VG_(do_atfork_child) (ThreadId tid);
    Exports of vg_syscall.S
    ------------------------------------------------------------------ */
 
-// We use a full prototype rather than "..." here to ensure that all
-// arguments get converted to a UWord appropriately.  Not doing so can
-// cause problems when passing 32-bit integers on 64-bit platforms, because
-// the top 32-bits might not be zeroed appropriately, eg. as would happen
-// with the 6th arg on AMD64 which is passed on the stack.
-
 extern void VG_(sigreturn)(void);
 
 /* ---------------------------------------------------------------------
index cdc4838ddc99d8f19cae89ff4f421ab0e61d744e..b7289dee191d2236a7eb2fcd3b16e441353729db 100644 (file)
 /* Do a syscall on this platform, with 6 args, and return the result
    in canonical format in a SysRes value. */
 
+// We use a full prototype for VG_(do_syscall) rather than "..." to ensure
+// that all arguments get converted to a UWord appropriately.  Not doing so
+// can cause problems when passing 32-bit integers on 64-bit platforms,
+// because the top 32-bits might not be zeroed appropriately, eg. as would
+// happen with the 6th arg on AMD64 which is passed on the stack.
+
 extern SysRes VG_(do_syscall) ( UWord sysno, 
                                 UWord, UWord, UWord, 
                                 UWord, UWord, UWord );