Alien-LibJIT

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN

changed that file, and provided that you do at least ONE of the following:

  a) place your modifications in the Public Domain or otherwise make them
     Freely Available, such as by posting said modifications to Usenet or an
     equivalent medium, or placing the modifications on a major archive site
     such as ftp.uu.net, or by allowing the Copyright Holder to include your
     modifications in the Standard Version of the Package.

  b) use the modified Package only within your corporation or organization.

  c) rename any non-standard executables so the names do not conflict with
     standard executables, which must also be provided, and provide a separate
     manual page for each non-standard executable that clearly documents how it
     differs from the Standard Version.

  d) make other distribution arrangements with the Copyright Holder.

4. You may distribute the programs of this Package in object code or executable
form, provided that you do at least ONE of the following:

  a) distribute a Standard Version of the executables and library files,

libjit/ChangeLog  view on Meta::CPAN


	* jitplus/jit-plus-function.cpp (create): free function signature.
	* tutorial/t3.c, tutorial/t3.c: free function signature.

2012-10-30  Aleksey Demakov  <ademakov@gmail.com>

	* tutorial/t1.c, tutorial/t2.c: free function signature.

	* jit/jit-block.c (delete_block): fix memory leak.

	* jit/jit-memory-cache.c: rename jit-cache.c

2012-10-20  Aleksey Demakov  <ademakov@gmail.com>

	* include/jit/jit-memory.h, jit/jit-internal.h, jit/jit-memory.c
	* jit-cache.c: get back to the scheme where function start and end
	addresses are kept by the memory manager, not in jit_function_t.

2012-10-16  Aleksey Demakov  <ademakov@gmail.com>

	* include/jit/jit-memory.h: add file that defines pluggable memory

libjit/ChangeLog  view on Meta::CPAN


	* jit/jit-cache.c, jit/jit-cache.c(_jit_cache_alloc_trampoline)
	(_jit_cache_free_trampoline, _jit_cache_alloc_closure)
	(_jit_cache_free_closure): add functions.
	* jit/jit-function.c (jit_function_create, _jit_function_destroy):
	use trampoline alloc/free functions.

	* jit/jit-apply.c, include/jit/jit-init.h (jit_get_closure_size)
	(jit_get_closure_alignment, jit_get_trampoline_size)
	(jit_get_trampoline_alignment): add functions.
	* jit/jit-apply.c (jit_closures_supported): for consistency rename
	function to jit_supports_closures.

2012-10-07  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-function.c (jit_function_create, _jit_function_destroy):
	* jit/jit-cache.h, jit/jit-cache.c (_jit_cache_alloc_function)
	(_jit_cache_free_function): allocate and free jit_function structs
	within cache.

2012-10-04  Aleksey Demakov  <ademakov@gmail.com>

libjit/ChangeLog  view on Meta::CPAN

	(_jit_cache_set_code_break, _jit_cache_get_code_limit)
	(_jit_cache_alloc_data): new API for function allocation.
	* jit/jit-cache.h, jit/jit-cache.c (_jit_cache_is_full)
	(_jit_cache_start_method, _jit_cache_end_method)
	(_jit_cache_alloc, _jit_cache_check_space): remove.
	* jit/jit-cache.h, jit/jit-rules.h: remove jit_cache_posn struct.
	Store the cache position data in jit_gencode struct.
	* jit/jit-rules.h, jit/jit-rules.c: (_jit_gen_check_space)
	(_jit_gen_alloc): add.
	* jit/jit-cache.h, jit/jit-cache.c (_jit_cache_get_function):
	rename from _jit_cache_get_method. 

2012-02-11  Aleksey Demakov  <ademakov@gmail.com>

	* jit/jit-cache.h, jit/jit-cache.c (_jit_cache_end_method): add
	result argument that indicates if the code genration will need
	to be restarted.
	* jit/jit-cache.h, jit/jit-cache.c (jit_cache_mark_full): remove
	macro and replace it with direct jit_cache_posn access where
	appropriate.
	* jit/jit-cache.h, jit/jit-cache.c (jit_cache_get_posn): likewise.

libjit/ChangeLog  view on Meta::CPAN


	* jit/jit-reg-alloc.c (_jit_regs_set_outgoing): Set the outgoing
	register inhibited regardless if the value was already in the
	register or not.

	* jit/jit-insn.c (jit_insn_check_null): Emit the check only if the
	value to check is no nint constant != 0.

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

	* configure.in: update to modern autoconf, rename to configure.ac.
	* configure.ac: renamed from configure.in.

2008-04-20  Klaus Treichel  <ktreichel@web.de>

	* tests/Makefile.am: Add cond.pas to the tests.

	* tests/math.pas: Add tests for more opcodes and execute existing
	tests for more types.

	* tests/cond.pas: Add tests for conditions.

libjit/ChangeLog  view on Meta::CPAN

	* include/jit/jit-plus.h, jitplus/jit-plus-function.cpp:
	add missing functions to the C++ API.

2004-05-22  Rhys Weatherley  <rweather@southern-storm.com.au>

	* jit/jit-block.c (_jit_block_peephole_branch): don't allow
	conditional branches to cross an exception context boundary,
	because doing so will violate "finally" semantics.

	* dpas/dpas-parser.y, include/jit/jit-insn.h, jit/jit-function.c,
	jit/jit-insn.c, jit/jit-internal.h: rename "jit_insn_move_blocks"
	to "jit_insn_move_blocks_to_end" and add a new function
	"jit_insn_move_blocks_to_start" for creating initialization code.

	* include/jit/jit-opcode.h, jit/jit-except.c, jit/jit-function.c,
	jit/jit-insn.c, jit/jit-internal.h, jit/jit-interp.c, jit/jit-opcode.c,
	jit/jit-setjmp.h: modify the function call logic to use "setjmp"
	with native back ends.

2004-05-21  Rhys Weatherley  <rweather@southern-storm.com.au>

libjit/jit/jit-elf-defs.h  view on Meta::CPAN


/* Legal values for vna_flags.  */
#define VER_FLG_WEAK	0x2		/* Weak version identifier */


/* Auxiliary vector.  */

/* This vector is normally only used by the program interpreter.  The
   usual definition in an ABI supplement uses the name auxv_t.  The
   vector is not usually defined in a standard <elf.h> file, but it
   can't hurt.  We rename it to avoid conflicts.  The sizes of these
   types are an arrangement between the exec server and the program
   interpreter, so we don't fully specify them here.  */

typedef struct
{
  int a_type;			/* Entry type */
  union
    {
      long int a_val;		/* Integer value */
      void *a_ptr;		/* Pointer value */

libjit/jitruby/setup.rb  view on Meta::CPAN

    begin
      Dir.rmdir path
    rescue Errno::ENOTEMPTY
      # directory may not be empty
    end
  end

  def move_file(src, dest)
    force_remove_file dest
    begin
      File.rename src, dest
    rescue
      File.open(dest, 'wb') {|f|
        f.write File.binread(src)
      }
      File.chmod File.stat(src).mode, dest
      File.unlink src
    end
  end

  def force_remove_file(path)

libjit/jitruby/setup.rb  view on Meta::CPAN

    else
      return old unless config('shebang') == 'all'
      Shebang.new(config('rubypath'))
    end
  end

  def open_atomic_writer(path, &block)
    tmpfile = File.basename(path) + '.tmp'
    begin
      File.open(tmpfile, 'wb', &block)
      File.rename tmpfile, File.basename(path)
    ensure
      File.unlink tmpfile if File.exist?(tmpfile)
    end
  end

  class Shebang
    def Shebang.load(path)
      line = nil
      File.open(path) {|f|
        line = f.gets

libjit/jitruby/setup.rb  view on Meta::CPAN

                  "#{config('sodir')}/#{File.dirname(rel)}",
                  0555
  end

  def install_dir_data(rel)
    install_files targetfiles(), "#{config('datadir')}/#{rel}", 0644
  end

  def install_dir_conf(rel)
    # FIXME: should not remove current config files
    # (rename previous file to .old/.org)
    install_files targetfiles(), "#{config('sysconfdir')}/#{rel}", 0644
  end

  def install_dir_man(rel)
    install_files targetfiles(), "#{config('mandir')}/#{rel}", 0644
  end

  def install_files(list, dest, mode, stripext = false)
    mkdir_p dest, @config.install_prefix
    list.each do |fname|



( run in 0.418 second using v1.01-cache-2.11-cpan-e9daa2b36ef )