Alien-LibJIT

 view release on metacpan or  search on metacpan

libjit/ChangeLog  view on Meta::CPAN

	* jit/jit-apply-x86-64.c: Add closure support for x86_64.

	* jit/jit-gen-x86-64.h: Add first codegeneration macros for x86_64.

	* jit/Makefile.am: Add the two new files to the libjit sources.

2008-01-26  Aleksey Demakov  <ademakov@gmail.com>

	* auto_gen.sh: remove, use "autoreconf -i -f" instead (thanks
	Dalibor for the hint).
	* INSTALL, config.guess, config.sub, install-sh, missing: remove
	from CVS, these files are automatically generated by autoreconf.
	* mkinstalldirs: remove, this file is obsolete.

2008-01-25  Aleksey Demakov  <ademakov@gmail.com>

	* include/*, jit/*, jitplus/*, jitdynamic/*: use LGPL 2.1.
	* doc/libjit.texi: remove "Why GPL?" chapter.

2008-01-22  Aleksey Demakov  <ademakov@gmail.com>

libjit/jit/jit-internal.h  view on Meta::CPAN

_JIT_ALIGN_CHECK_TYPE(jit_sbyte, sbyte);
_JIT_ALIGN_CHECK_TYPE(jit_short, short);
_JIT_ALIGN_CHECK_TYPE(jit_int, int);
_JIT_ALIGN_CHECK_TYPE(jit_long, long);
_JIT_ALIGN_CHECK_TYPE(jit_ptr, ptr);
_JIT_ALIGN_CHECK_TYPE(jit_float32, float);
_JIT_ALIGN_CHECK_TYPE(jit_float64, double);
_JIT_ALIGN_CHECK_TYPE(jit_nfloat, nfloat);

#if defined(JIT_X86)
/* Sometimes the code below guesses wrong on Win32 platforms */
#define	JIT_BEST_ALIGNMENT	4
#else
#define	JIT_BEST_ALIGNMENT						\
	_JIT_ALIGN_MAX(_JIT_ALIGN_MAX3(_JIT_ALIGN_FOR_TYPE(int),	\
				       _JIT_ALIGN_FOR_TYPE(long),	\
				       _JIT_ALIGN_FOR_TYPE(ptr)),	\
		       _JIT_ALIGN_MAX3(_JIT_ALIGN_FOR_TYPE(float),	\
				       _JIT_ALIGN_FOR_TYPE(double),	\
				       _JIT_ALIGN_FOR_TYPE(nfloat)))
#endif

libjit/jitdynamic/jit-cpp-mangle.c  view on Meta::CPAN

@code{inline} methods.  You will need to make other arrangements to
simulate the behaviour of inline methods, or recompile your dynamic C++
library in a mode that explicitly exports inlines.

C++ method names are very picky about types.  On 32-bit systems,
@code{int} and @code{long} are the same size, but they are mangled
to different characters.  To ensure that the correct function is
picked, you should use @code{jit_type_sys_int}, @code{jit_type_sys_long}, etc
instead of the platform independent types.  If you do use a platform
independent type like @code{jit_type_int}, this library will try to
guess which system type you mean, but the guess will most likely be wrong.

@*/

/*
 * Useful encoding characters.
 */
static char const hexchars[16] = "0123456789ABCDEF";
static char const b36chars[36] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";

/*



( run in 1.444 second using v1.01-cache-2.11-cpan-702932259ff )