diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-23 17:37:20 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-27 22:14:35 +1000 |
commit | 888c1286cfe25c1b21605c3443cc0a20b522972b (patch) | |
tree | 803c8a31cccbb5013539fd0a575cc10f6af5a7fb /src/ldo.js | |
parent | b3c87776e08f546a9994527f7c2c7fc4ec07d9a1 (diff) | |
download | fengari-888c1286cfe25c1b21605c3443cc0a20b522972b.tar.gz fengari-888c1286cfe25c1b21605c3443cc0a20b522972b.tar.bz2 fengari-888c1286cfe25c1b21605c3443cc0a20b522972b.zip |
Introduce setobj2s
Diffstat (limited to 'src/ldo.js')
-rw-r--r-- | src/ldo.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -270,7 +270,7 @@ const tryfuncTM = function(L, off, func) { for (let p = L.top; p > off; p--) lobject.setobjs2s(L, p, p-1); L.top++; /* slot ensured by caller */ - L.stack[off] = new lobject.TValue(tm.type, tm.value); /* tag method is the new function to be called */ + lobject.setobj2s(L, off, tm); /* tag method is the new function to be called */ }; /* |