summaryrefslogtreecommitdiff
path: root/lang/LuaJIT2
AgeCommit message (Collapse)AuthorFilesLines
2017-05-29Update LuaJIT2 to 2.0.5.alnsn4-41/+16
LuaJIT 2.0.5 -- 2017-05-01 * Add workaround for MSVC 2015 stdio changes. * Limit mcode alloc probing, depending on the available pool size. * Fix overly restrictive range calculation in mcode allocation. * Fix out-of-scope goto handling in parser. * Remove internal __mode = "K" and replace with safe check. * Add "proto" field to jit.util.funcinfo(). * Fix GC step size calculation. * Initialize uv->immutable for upvalues of loaded chunks. * Fix for cdata vs. non-cdata arithmetics/comparisons. * Drop leftover regs in 'for' iterator assignment, too. * Fix PHI remarking in SINK pass. * Don't try to record outermost pcall() return to lower frame. * Add guard for obscure aliasing between open upvalues and SSA slots. * Remove assumption that lj_math_random_step() doesn't clobber FPRs. * Fix handling of non-numeric strings in arithmetic coercions. * Fix recording of select(n, ...) with off-trace varargs * Fix install for cross-builds. * Don't allocate unused 2nd result register in JIT compiler backend. * Drop marks from replayed instructions when sinking. * Fix unsinking check. * Properly handle OOM in trace_save(). * Limit number of arguments given to io.lines() and fp:lines(). * Fix narrowing of TOBIT. * OSX: Fix build with recent XCode. * x86/x64: Don't spill an explicit REF_BASE in the IR. * x86/x64: Fix instruction length decoder. * x86/x64: Search for exit jumps with instruction length decoder. * ARM: Fix BLX encoding for Thumb interworking calls. * MIPS: Don't use RID_GP as a scratch register. * MIPS: Fix emitted code for U32 to float conversion. * MIPS: Backport workaround for compact unwind tables. * MIPS: Fix cross-endian jit.bcsave. * MIPS: Fix BC_ISNEXT fallback path. * MIPS: Fix use of ffgccheck delay slots in interpreter. * FFI: Fix FOLD rules for int64_t comparisons. * FFI: Fix SPLIT pass for CONV i64.u64. * FFI: Fix ipairs() recording. * FFI: Don't propagate qualifiers into subtypes of complex.
2016-08-21LuaJIT isn't pax mprotect safe.alnsn1-1/+3
2016-06-21Fix PLIST for SunOS. Upstream intentionally doesn't build the sharedfhajny2-5/+15
lib on SunOS, we accept it. Packages that depends on the shared lib may fail.
2016-04-01Fix building on OS X.adam2-1/+18
2016-04-01Use PKGMANDIR.jperkin2-4/+4
2015-12-13Link lang/LuaJIT2 with pthreads to address pkg/47587.alnsn1-1/+7
2015-11-03Add SHA512 digests for distfiles for lang categoryagc1-1/+2
Problems found with existing digests: Package nhc98 distfile nhc98src-1.22.tar.gz a8adc8f22371998ee0657bc0e01058a57d876abc [recorded] 81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated] Problems found locating distfiles: Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz Package icc11: missing distfile l_cproc_p_11.1.080.tgz Package jini: missing distfile jini-1_2_1_001-src.zip Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2 Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz Package sun-jre6: missing distfile jce_policy-6.zip Package sun-jre6: missing distfile jre-6u45-linux-x64.bin Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-10-31Update DESCR of Lua 5.x and LuaJIT 2.0 packagesalnsn1-0/+2
2015-05-14Update lang/LuaJIT2 to 2.0.4.alnsn2-7/+6
* Fix stack check in narrowing optimization. * Fix Lua/C API typecheck error for special indexes. * Fix string to number conversion. * Fix lexer error for chunks without tokens. * Don't compile IR_RETF after CALLT to ff with-side effects. * Fix BC_UCLO/BC_JMP join optimization in Lua parser. * Fix corner case in string to number conversion. * Gracefully handle lua_error() for a suspended coroutine. * Avoid error messages when building with Clang. * Fix snapshot #0 handling for traces with a stack check on entry. * Fix fused constant loads under high register pressure. * Invalidate backpropagation cache after DCE. * Fix ABC elimination. * Fix debug info for main chunk of stripped bytecode. * Fix FOLD rule for string.sub(s, ...) == k. * Fix FOLD rule for STRREF of SNEW. * Fix frame traversal while searching for error function. * Prevent GC estimate miscalculation due to buffer growth. * Prevent adding side traces for stack checks. * Fix top slot calculation for snapshots with continuations. * Fix check for reuse of SCEV results in FORL. * Add PS Vita port. * Fix compatibility issues with Illumos. * Fix DragonFly build (unsupported). * OpenBSD/x86: Better executable memory allocation for W^X mode. * x86: Fix argument checks for ipairs() iterator. * x86: lj_math_random_step() clobbers XMM regs on OSX Clang. * x86: Fix code generation for unused result of math.random(). * x64: Allow building with LUAJIT_USE_SYSMALLOC and LUAJIT_USE_VALGRIND. * x86/x64: Fix argument check for bit shifts. * x86/x64: Fix code generation for fused test/arith ops. * ARM: Fix write barrier check in BC_USETS. * PPC: Fix red zone overflow in machine code generation. * PPC: Don't use mcrxr on PPE. * Various archs: Fix excess stack growth in interpreter. * FFI: Fix FOLD rule for TOBIT + CONV num.u32. * FFI: Prevent DSE across ffi.string(). * FFI: No meta fallback when indexing pointer to incomplete struct. * FFI: Fix initialization of unions of subtypes. * FFI: Fix cdata vs. non-cdata arithmetic and comparisons. * FFI: Fix __index/__newindex metamethod resolution for ctypes. * FFI: Fix compilation of reference field access. * FFI: Fix frame traversal for backtraces with FFI callbacks. * FFI: Fix recording of indexing a struct pointer ctype object itself. * FFI: Allow non-scalar cdata to be compared for equality by address. * FFI: Fix pseudo type conversions for type punning.
2015-02-27Don't add ldconfig to tools. Get rid of ldconfig in Makefile instead.alnsn3-5/+14
2015-02-26LuaJIT uses ldconfig in the 'install' target.alnsn1-2/+2
2014-03-26. Added buildlink3.mkimil5-9/+47
. Added symlinking of libluajit-$(ABIVER).so.$(MAJVER)
2014-03-13Commit ommitted distinfo for LuaJIT2 2.0.3 upgradejustin1-6/+5
2014-03-12Update LuaJIT2 to 2.0.3.justin3-23/+8
This release has the new PS4 port and various important bug fixes over 2.0.2 -- an update is recommended. Updated as discussed with maintainer alnsn@netbsd.org
2013-07-14Import LuaJIT version 2.0.2.alnsn6-0/+91
LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language. Lua is a powerful, dynamic and light-weight programming language. It may be embedded or used as a general-purpose, stand-alone language.