aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2012-10-09 21:50:09 +0200
committerMike Pall <mike>2012-10-09 21:51:30 +0200
commit4a97faef7ef7e9b12235adcb98e3e591b0db7122 (patch)
tree44c9e342de0a193c47bb8ad097926370dd9a4c8a /src
parenta7d1dbacb19c3e5d0c4888cdf59913693e4648b6 (diff)
downloadluajit-4a97faef7ef7e9b12235adcb98e3e591b0db7122.tar.gz
luajit-4a97faef7ef7e9b12235adcb98e3e591b0db7122.tar.bz2
luajit-4a97faef7ef7e9b12235adcb98e3e591b0db7122.zip
FFI: Compile array/struct copies.
Diffstat (limited to 'src')
-rw-r--r--src/lj_crecord.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_crecord.c b/src/lj_crecord.c
index 47ae65b4..6a22544a 100644
--- a/src/lj_crecord.c
+++ b/src/lj_crecord.c
@@ -526,11 +526,11 @@ static TRef crec_ct_ct(jit_State *J, CType *d, CType *s, TRef dp, TRef sp,
526 526
527 /* Destination is an array. */ 527 /* Destination is an array. */
528 case CCX(A, A): 528 case CCX(A, A):
529 goto err_nyi;
530
531 /* Destination is a struct/union. */ 529 /* Destination is a struct/union. */
532 case CCX(S, S): 530 case CCX(S, S):
533 goto err_nyi; 531 if (dp == 0) goto err_conv;
532 crec_copy(J, dp, sp, lj_ir_kint(J, dsize), d);
533 break;
534 534
535 default: 535 default:
536 err_conv: 536 err_conv: