[svn:parrot] r42416 - branches/libjit_framebuilder/lib/Parrot

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Wed Nov 11 02:09:37 UTC 2009


Author: whiteknight
Date: Wed Nov 11 02:09:36 2009
New Revision: 42416
URL: https://trac.parrot.org/parrot/changeset/42416

Log:
[libjit] apply one patch from plobsing++ to fix short conversions on x86_64 without libjit installed

Modified:
   branches/libjit_framebuilder/lib/Parrot/NativeCall.pm

Modified: branches/libjit_framebuilder/lib/Parrot/NativeCall.pm
==============================================================================
--- branches/libjit_framebuilder/lib/Parrot/NativeCall.pm	Wed Nov 11 02:09:13 2009	(r42415)
+++ branches/libjit_framebuilder/lib/Parrot/NativeCall.pm	Wed Nov 11 02:09:36 2009	(r42416)
@@ -47,7 +47,7 @@
     i => { as_proto => "int",    sig_char => "I" },
     l => { as_proto => "long",   sig_char => "I" },
     c => { as_proto => "char",   sig_char => "I" },
-    s => { as_proto => "short",  sig_char => "I" },
+    s => { as_proto => "short",  sig_char => "I", return_type => 'INTVAL' },
     f => { as_proto => "float",  sig_char => "N" },
     d => { as_proto => "double", sig_char => "N" },
     t => { as_proto => "char *",


More information about the parrot-commits mailing list