diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-05-08 10:55:26 +0200 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-05-08 10:55:26 +0200 |
commit | e535c784055065ba8c8b6313b2804562c35dd261 (patch) | |
tree | 00fb42afc99e3187cfc192b750e102ebaf0df35e /src/lvm.js | |
parent | ecc153eed6f7d2fd4c39b0e276cdf14abd48d62c (diff) | |
parent | 636b1d8a5a566fac0c9c61fed44049c659435a56 (diff) | |
download | fengari-e535c784055065ba8c8b6313b2804562c35dd261.tar.gz fengari-e535c784055065ba8c8b6313b2804562c35dd261.tar.bz2 fengari-e535c784055065ba8c8b6313b2804562c35dd261.zip |
Merge remote-tracking branch 'daurnimator/boxed-strings'
Diffstat (limited to 'src/lvm.js')
-rw-r--r-- | src/lvm.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -916,11 +916,11 @@ const LTintfloat = function(l, r) { ** The code is a little tricky because it allows '\0' in the strings. */ const l_strcmp = function(ls, rs) { - let l = ls; - let ll = ls.length; + let l = ls.getstr(); + let ll = ls.tsslen(); let jl = defs.to_jsstring(l); - let r = rs; - let lr = rs.length; + let r = rs.getstr(); + let lr = rs.tsslen(); let jr = defs.to_jsstring(r); for (;;) { let temp = jl === jr; // TODO: strcoll ? |