aboutsummaryrefslogtreecommitdiff
path: root/src/lj_tab.c
diff options
context:
space:
mode:
authorMike Pall <mike>2009-12-08 19:49:20 +0100
committerMike Pall <mike>2009-12-08 19:49:20 +0100
commit1d1fed48a002dfc0919135911057ebc255a53e0a (patch)
treec5c6643908374bb8f02f4c7691332d32f6645986 /src/lj_tab.c
parent55b16959717084884fd4a0cbae6d19e3786c20c7 (diff)
downloadluajit-1d1fed48a002dfc0919135911057ebc255a53e0a.tar.gz
luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.tar.bz2
luajit-1d1fed48a002dfc0919135911057ebc255a53e0a.zip
RELEASE LuaJIT-2.0.0-beta2v2.0.0-beta2
Diffstat (limited to 'src/lj_tab.c')
-rw-r--r--src/lj_tab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_tab.c b/src/lj_tab.c
index 633ea20c..9af51027 100644
--- a/src/lj_tab.c
+++ b/src/lj_tab.c
@@ -191,8 +191,8 @@ GCtab *lj_tab_dup(lua_State *L, const GCtab *kt)
191 Node *kn = &knode[i]; 191 Node *kn = &knode[i];
192 Node *n = &node[i]; 192 Node *n = &node[i];
193 Node *next = nextnode(kn); 193 Node *next = nextnode(kn);
194 copyTV(L, &n->val, &kn->val); 194 /* Don't use copyTV here, since it asserts on a copy of a DEADKEY. */
195 copyTV(L, &n->key, &kn->key); 195 n->val = kn->val; n->key = kn->key;
196 setmref(n->next, next == NULL? next : (Node *)((char *)next + d)); 196 setmref(n->next, next == NULL? next : (Node *)((char *)next + d));
197 } 197 }
198 } 198 }