diff options
| author | Mike Pall <mike> | 2021-09-20 14:39:50 +0200 |
|---|---|---|
| committer | Mike Pall <mike> | 2021-09-20 14:39:50 +0200 |
| commit | 98b7d9a3b2a18175a7c60ef6e53f47dec918e856 (patch) | |
| tree | ea69808ace9c6b3f80d2be964e91f7e39e402e56 /src | |
| parent | 27ee3bcd79b12a0c71f00427ee1a2e486c684486 (diff) | |
| parent | 68ffbd318b331b988c32ecfdeee965e9683889f4 (diff) | |
| download | luajit-98b7d9a3b2a18175a7c60ef6e53f47dec918e856.tar.gz luajit-98b7d9a3b2a18175a7c60ef6e53f47dec918e856.tar.bz2 luajit-98b7d9a3b2a18175a7c60ef6e53f47dec918e856.zip | |
Merge branch 'master' into v2.1
Diffstat (limited to 'src')
| -rw-r--r-- | src/lj_crecord.c | 2 | ||||
| -rw-r--r-- | src/vm_arm.dasc | 2 | ||||
| -rw-r--r-- | src/vm_mips.dasc | 2 | ||||
| -rw-r--r-- | src/vm_ppc.dasc | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/lj_crecord.c b/src/lj_crecord.c index 95850611..165f95d9 100644 --- a/src/lj_crecord.c +++ b/src/lj_crecord.c | |||
| @@ -78,7 +78,7 @@ static CTypeID argv2ctype(jit_State *J, TRef tr, cTValue *o) | |||
| 78 | /* Specialize to the string containing the C type declaration. */ | 78 | /* Specialize to the string containing the C type declaration. */ |
| 79 | emitir(IRTG(IR_EQ, IRT_STR), tr, lj_ir_kstr(J, s)); | 79 | emitir(IRTG(IR_EQ, IRT_STR), tr, lj_ir_kstr(J, s)); |
| 80 | cp.L = J->L; | 80 | cp.L = J->L; |
| 81 | cp.cts = ctype_ctsG(J2G(J)); | 81 | cp.cts = ctype_cts(J->L); |
| 82 | oldtop = cp.cts->top; | 82 | oldtop = cp.cts->top; |
| 83 | cp.srcname = strdata(s); | 83 | cp.srcname = strdata(s); |
| 84 | cp.p = strdata(s); | 84 | cp.p = strdata(s); |
diff --git a/src/vm_arm.dasc b/src/vm_arm.dasc index 3a73e00b..405be30a 100644 --- a/src/vm_arm.dasc +++ b/src/vm_arm.dasc | |||
| @@ -539,13 +539,13 @@ static void build_subroutines(BuildCtx *ctx) | |||
| 539 | | cmp CARG1, #1 | 539 | | cmp CARG1, #1 |
| 540 | |.endif | 540 | |.endif |
| 541 | | ldr PC, [CARG4, #-12] // Restore PC from [cont|PC]. | 541 | | ldr PC, [CARG4, #-12] // Restore PC from [cont|PC]. |
| 542 | | ldr CARG3, LFUNC:CARG3->field_pc | ||
| 543 | | mvn INS, #~LJ_TNIL | 542 | | mvn INS, #~LJ_TNIL |
| 544 | | add CARG2, RA, RC | 543 | | add CARG2, RA, RC |
| 545 | | str INS, [CARG2, #-4] // Ensure one valid arg. | 544 | | str INS, [CARG2, #-4] // Ensure one valid arg. |
| 546 | |.if FFI | 545 | |.if FFI |
| 547 | | bls >1 | 546 | | bls >1 |
| 548 | |.endif | 547 | |.endif |
| 548 | | ldr CARG3, LFUNC:CARG3->field_pc | ||
| 549 | | ldr KBASE, [CARG3, #PC2PROTO(k)] | 549 | | ldr KBASE, [CARG3, #PC2PROTO(k)] |
| 550 | | // BASE = base, RA = resultptr, CARG4 = meta base | 550 | | // BASE = base, RA = resultptr, CARG4 = meta base |
| 551 | | bx CARG1 | 551 | | bx CARG1 |
diff --git a/src/vm_mips.dasc b/src/vm_mips.dasc index f70c613e..e3cc42a5 100644 --- a/src/vm_mips.dasc +++ b/src/vm_mips.dasc | |||
| @@ -673,11 +673,11 @@ static void build_subroutines(BuildCtx *ctx) | |||
| 673 | |.endif | 673 | |.endif |
| 674 | | lw PC, -16+HI(RB) // Restore PC from [cont|PC]. | 674 | | lw PC, -16+HI(RB) // Restore PC from [cont|PC]. |
| 675 | | addu TMP2, RA, RD | 675 | | addu TMP2, RA, RD |
| 676 | | lw TMP1, LFUNC:TMP1->pc | ||
| 677 | |.if FFI | 676 | |.if FFI |
| 678 | | bnez AT, >1 | 677 | | bnez AT, >1 |
| 679 | |.endif | 678 | |.endif |
| 680 | |. sw TISNIL, -8+HI(TMP2) // Ensure one valid arg. | 679 | |. sw TISNIL, -8+HI(TMP2) // Ensure one valid arg. |
| 680 | | lw TMP1, LFUNC:TMP1->pc | ||
| 681 | | // BASE = base, RA = resultptr, RB = meta base | 681 | | // BASE = base, RA = resultptr, RB = meta base |
| 682 | | jr TMP0 // Jump to continuation. | 682 | | jr TMP0 // Jump to continuation. |
| 683 | |. lw KBASE, PC2PROTO(k)(TMP1) | 683 | |. lw KBASE, PC2PROTO(k)(TMP1) |
diff --git a/src/vm_ppc.dasc b/src/vm_ppc.dasc index d9e19298..a376c849 100644 --- a/src/vm_ppc.dasc +++ b/src/vm_ppc.dasc | |||
| @@ -859,11 +859,11 @@ static void build_subroutines(BuildCtx *ctx) | |||
| 859 | |.endif | 859 | |.endif |
| 860 | | lwz PC, -16(RB) // Restore PC from [cont|PC]. | 860 | | lwz PC, -16(RB) // Restore PC from [cont|PC]. |
| 861 | | subi TMP2, RD, 8 | 861 | | subi TMP2, RD, 8 |
| 862 | | lwz TMP1, LFUNC:TMP1->pc | ||
| 863 | | stwx TISNIL, RA, TMP2 // Ensure one valid arg. | 862 | | stwx TISNIL, RA, TMP2 // Ensure one valid arg. |
| 864 | |.if FFI | 863 | |.if FFI |
| 865 | | ble >1 | 864 | | ble >1 |
| 866 | |.endif | 865 | |.endif |
| 866 | | lwz TMP1, LFUNC:TMP1->pc | ||
| 867 | | lwz KBASE, PC2PROTO(k)(TMP1) | 867 | | lwz KBASE, PC2PROTO(k)(TMP1) |
| 868 | | // BASE = base, RA = resultptr, RB = meta base | 868 | | // BASE = base, RA = resultptr, RB = meta base |
| 869 | | mtctr TMP0 | 869 | | mtctr TMP0 |
