aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib_ffi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib_ffi.c b/src/lib_ffi.c
index e789ad6c..25496780 100644
--- a/src/lib_ffi.c
+++ b/src/lib_ffi.c
@@ -136,6 +136,7 @@ static int ffi_index_meta(lua_State *L, CTState *cts, CType *ct, MMS mm)
136 return 0; 136 return 0;
137 } 137 }
138 } 138 }
139 copyTV(L, base, L->top);
139 tv = L->top-1; 140 tv = L->top-1;
140 } 141 }
141 return lj_meta_tailcall(L, tv); 142 return lj_meta_tailcall(L, tv);