From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5196 invoked by alias); 14 Mar 2010 23:36:40 -0000 Received: (qmail 5179 invoked by uid 22791); 14 Mar 2010 23:36:39 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from adelie.canonical.com (HELO adelie.canonical.com) (91.189.90.139) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 14 Mar 2010 23:36:34 +0000 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1NqxMF-00029Y-TQ; Sun, 14 Mar 2010 23:36:31 +0000 Received: from dslb-088-073-094-129.pools.arcor-ip.net ([88.73.94.129] helo=[192.168.42.17]) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NqxMF-0001nR-Pm; Sun, 14 Mar 2010 23:36:31 +0000 Message-ID: <4B9D72FC.3070908@ubuntu.com> Date: Sun, 14 Mar 2010 23:36:00 -0000 From: Matthias Klose User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9pre) Gecko/20100217 Shredder/3.0.3pre MIME-Version: 1.0 To: java-patches@gcc.gnu.org, libffi-discuss@sourceware.org Subject: libffi comment changes Content-Type: multipart/mixed; boundary="------------070000060701050703000107" X-IsSubscribed: yes Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org X-SW-Source: 2010-q1/txt/msg00057.txt.bz2 This is a multi-part message in MIME format. --------------070000060701050703000107 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 136 these are changes from the libffi copy included in the python sources. ok for the trunk? please apply in libffi as well. Matthias --------------070000060701050703000107 Content-Type: text/plain; name="libffi.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="libffi.diff" Content-length: 1462 2010-03-14 Matthias Klose * libffi/src/x86/ffi64.c: Fix typo in comment. * libffi/src/x86/ffi.c: Use /* ... */ comment style. Index: src/x86/ffi64.c =================================================================== --- src/x86/ffi64.c (revision 157445) +++ src/x86/ffi64.c (working copy) @@ -52,7 +52,7 @@ /* Register class used for passing given 64bit part of the argument. These represent classes as documented by the PS ABI, with the exception of SSESF, SSEDF classes, that are basically SSE class, just gcc will - use SF or DFmode move instead of DImode to avoid reformating penalties. + use SF or DFmode move instead of DImode to avoid reformatting penalties. Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves whenever possible (upper half does contain padding). */ Index: src/x86/ffi.c =================================================================== --- src/x86/ffi.c (revision 157445) +++ src/x86/ffi.c (working copy) @@ -594,10 +594,10 @@ return FFI_BAD_ABI; } - // we currently don't support certain kinds of arguments for raw + /* we currently don't support certain kinds of arguments for raw // closures. This should be implemented by a separate assembly language // routine, since it would require argument processing, something we - // don't do now for performance. + // don't do now for performance. */ for (i = cif->nargs-1; i >= 0; i--) { --------------070000060701050703000107--