Alien-LibJIT
view release on metacpan or search on metacpan
libjit/jit/jit-rules-interp.c view on Meta::CPAN
#if defined(JIT_BACKEND_INTERP)
#include "jit-interp.h"
/*@
The architecture definition rules for a CPU are placed into the files
@code{jit-rules-ARCH.h} and @code{jit-rules-ARCH.c}. You should add
both of these files to @code{Makefile.am} in @code{libjit/jit}.
You will also need to edit @code{jit-rules.h} in two places. First,
place detection logic at the top of the file to detect your platform
and define @code{JIT_BACKEND_ARCH} to 1. Further down the file,
you should add the following two lines to the include file logic:
@example
#elif defined(JIT_BACKEND_ARCH)
#include "jit-rules-ARCH.h"
@end example
@subsection Defining the registers
libjit/jit/mklabel.sh view on Meta::CPAN
fi
if test "x$2" = "x" ; then
echo "Usage: $0 awk jit-opcode.h jit-interp.h >jit-interp-labels.h" 1>&2
exit 1
fi
if test "x$3" = "x" ; then
echo "Usage: $0 awk jit-opcode.h jit-interp.h >jit-interp-labels.h" 1>&2
exit 1
fi
# Output the "do not edit" header.
echo '/* This file is automatically generated - do not edit */'
echo ''
# Define a null assembly statement. This is a trick to stop gcc doing
# tail-end combination on the cases within the switch statements.
echo '#if defined(__GNUC__)'
echo '#define VMNULLASM() __asm__("")'
echo '#else'
echo '#define VMNULLASM()'
echo '#endif'
echo '#define VMFETCH(pc) ((int)*((jit_nint *)(pc)))'
libjit/jitruby/setup.rb view on Meta::CPAN
'the directory for ruby scripts'),
PathItem.new('sodir', 'path', '$siterubyverarch',
'the directory for ruby extentions'),
PathItem.new('rubypath', 'path', rubypath,
'the path to set to #! line'),
ProgramItem.new('rubyprog', 'name', rubypath,
'the ruby program using for installation'),
ProgramItem.new('makeprog', 'name', makeprog,
'the make program to compile ruby extentions'),
SelectItem.new('shebang', 'all/ruby/never', 'ruby',
'shebang line (#!) editing mode'),
BoolItem.new('without-ext', 'yes/no', 'no',
'does not compile/install ruby extentions')
]
end
private :standard_entries
def load_multipackage_entries
multipackage_entries().each do |ent|
add ent
end
( run in 0.556 second using v1.01-cache-2.11-cpan-de7293f3b23 )