Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/external/bsd/sljit/dist/sljit_src Pull up following r...



details:   https://anonhg.NetBSD.org/src/rev/4acf4da35d18
branches:  netbsd-7
changeset: 799003:4acf4da35d18
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Feb 17 15:11:28 2015 +0000

description:
Pull up following revision(s) (requested by alnsn in ticket #531):
        sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c: revision 1.7
Apply a bugfix from r282 http://sourceforge.net/p/sljit/code/282/.
The bug was originally reported by me in a newer upstream version.
American fuzzy lop rediscovered it for the version of sljit in the
NetBSD tree.

diffstat:

 sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c6a6192d872e -r 4acf4da35d18 sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c
--- a/sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c     Tue Feb 17 15:09:37 2015 +0000
+++ b/sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c     Tue Feb 17 15:11:28 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sljitNativeX86_common.c,v 1.6 2014/06/17 19:33:20 alnsn Exp $  */
+/*     $NetBSD: sljitNativeX86_common.c,v 1.6.2.1 2015/02/17 15:11:28 martin Exp $     */
 
 /*
  *    Stack-less Just-In-Time compiler
@@ -1749,7 +1749,7 @@
                        *(sljit_si*)inst = (sljit_si)src2w;
                }
                else {
-                       EMIT_MOV(compiler, TMP_REG2, 0, SLJIT_IMM, src1w);
+                       EMIT_MOV(compiler, TMP_REG2, 0, SLJIT_IMM, src2w);
                        if (dst_r != src1)
                                EMIT_MOV(compiler, dst_r, 0, src1, src1w);
                        inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0);



Home | Main Index | Thread Index | Old Index