aboutsummaryrefslogtreecommitdiff
path: root/src/lib_ffi.c
diff options
context:
space:
mode:
authorMike Pall <mike>2015-01-03 15:04:38 +0100
committerMike Pall <mike>2015-01-03 15:04:38 +0100
commit054e6abe37450344e20b373ec326055071029e9b (patch)
treed3abbe61e643f4f59797d2aea24cc3a0643df53b /src/lib_ffi.c
parenta13dfd66c3427f9cc94044f261a526042b0d02f5 (diff)
downloadluajit-054e6abe37450344e20b373ec326055071029e9b.tar.gz
luajit-054e6abe37450344e20b373ec326055071029e9b.tar.bz2
luajit-054e6abe37450344e20b373ec326055071029e9b.zip
Add LJ_FR2 mode: Two-slot frame info.
Diffstat (limited to 'src/lib_ffi.c')
-rw-r--r--src/lib_ffi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib_ffi.c b/src/lib_ffi.c
index bc2339ce..d64f2167 100644
--- a/src/lib_ffi.c
+++ b/src/lib_ffi.c
@@ -138,7 +138,7 @@ static int ffi_index_meta(lua_State *L, CTState *cts, CType *ct, MMS mm)
138 } 138 }
139 } 139 }
140 copyTV(L, base, L->top); 140 copyTV(L, base, L->top);
141 tv = L->top-1; 141 tv = L->top-1-LJ_FR2;
142 } 142 }
143 return lj_meta_tailcall(L, tv); 143 return lj_meta_tailcall(L, tv);
144} 144}