public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* libffi comment changes
@ 2010-03-14 23:36 Matthias Klose
  0 siblings, 0 replies; only message in thread
From: Matthias Klose @ 2010-03-14 23:36 UTC (permalink / raw)
  To: java-patches, libffi-discuss

[-- Attachment #1: Type: text/plain, Size: 136 bytes --]

these are changes from the libffi copy included in the python sources. ok for 
the trunk? please apply in libffi as well.

   Matthias


[-- Attachment #2: libffi.diff --]
[-- Type: text/plain, Size: 1462 bytes --]

2010-03-14  Matthias Klose  <doko@ubuntu.com>

	* 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--)
     {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-14 23:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-14 23:36 libffi comment changes Matthias Klose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).