summaryrefslogtreecommitdiff
path: root/src/lapi.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-22 12:16:46 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-22 14:06:14 +1000
commit70e485206d08913cf9709db8e6b589b3df34711e (patch)
tree2bacd5cbae20fb267288605cf2feb03007253657 /src/lapi.js
parent9bd1b0764105305c67aaf083804aa1e75911d74b (diff)
downloadfengari-70e485206d08913cf9709db8e6b589b3df34711e.tar.gz
fengari-70e485206d08913cf9709db8e6b589b3df34711e.tar.bz2
fengari-70e485206d08913cf9709db8e6b589b3df34711e.zip
Add TMcache
Diffstat (limited to 'src/lapi.js')
-rw-r--r--src/lapi.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lapi.js b/src/lapi.js
index d2f5c95..9aacb10 100644
--- a/src/lapi.js
+++ b/src/lapi.js
@@ -424,6 +424,7 @@ const lua_rawset = function(L, idx) {
let slot = ltable.luaH_set(o.value, k);
slot.setfrom(v);
}
+ ltable.invalidateTMcache(o.value);
L.top -= 2;
};