diff options
author | Mike Pall <mike> | 2011-01-17 01:23:04 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-01-17 01:23:04 +0100 |
commit | f385af7084f300380167bf2261e8109927bd1e18 (patch) | |
tree | 13c2220d376ad767f73f18d23f06d1b4ae71a870 /src/lj_record.c | |
parent | 83d8c86bbb7b6123c88e1cc43f48a077e04b4b1a (diff) | |
download | luajit-f385af7084f300380167bf2261e8109927bd1e18.tar.gz luajit-f385af7084f300380167bf2261e8109927bd1e18.tar.bz2 luajit-f385af7084f300380167bf2261e8109927bd1e18.zip |
FFI: Record 64 bit integer comparisons and pointer comparisons.
Diffstat (limited to 'src/lj_record.c')
-rw-r--r-- | src/lj_record.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_record.c b/src/lj_record.c index 1669fde1..c150e2e4 100644 --- a/src/lj_record.c +++ b/src/lj_record.c | |||
@@ -819,6 +819,7 @@ static void rec_mm_comp(jit_State *J, RecordIndex *ix, int op) | |||
819 | /* Setup call to cdata comparison metamethod. */ | 819 | /* Setup call to cdata comparison metamethod. */ |
820 | static void rec_mm_comp_cdata(jit_State *J, RecordIndex *ix, int op, MMS mm) | 820 | static void rec_mm_comp_cdata(jit_State *J, RecordIndex *ix, int op, MMS mm) |
821 | { | 821 | { |
822 | lj_snap_add(J); | ||
822 | if (tref_iscdata(ix->val)) { | 823 | if (tref_iscdata(ix->val)) { |
823 | ix->tab = ix->val; | 824 | ix->tab = ix->val; |
824 | copyTV(J->L, &ix->tabv, &ix->valv); | 825 | copyTV(J->L, &ix->tabv, &ix->valv); |