<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi!<div class=""><br class=""></div><div class="">I see four ‘ok’s as a result of run. </div><div class="">See the full output for the run with dump() below:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">s.ostanevich@s-ostanevich2:~/workspaces/t.sergos/third_party/luajit/test/tarantool-tests % ../../../../build-debug/src/tarantool -e 'require"jit.dump".start("ib")' lj-408-tonumber-cdata-record.test.lua</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">TAP version 13</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">1..4</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 1 start lj-408-tonumber-cdata-record.test.lua:17</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0001 GGET 1 0 ; "tonumber"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0002 MOV 3 0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0003 CALL 1 2 2</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0000 . FUNCC ; tonumber</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0004 RET1 1 2</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 1 IR</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0001 <b class="">fun</b> SLOAD #0 R</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0002 </span><span style="font-variant-ligatures: no-common-ligatures; color: #b42419" class="">tab</span><span style="font-variant-ligatures: no-common-ligatures" class=""> FLOAD 0001 func.env</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0003 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">int</span><span style="font-variant-ligatures: no-common-ligatures" class=""> FLOAD 0002 tab.hmask</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0004 > </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">int</span><span style="font-variant-ligatures: no-common-ligatures" class=""> EQ 0003 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">+63 </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0005 p64 FLOAD 0002 tab.node</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0006 > p64 HREFK 0005 </span><span style="font-variant-ligatures: no-common-ligatures; color: #2fb41d" class="">"tonumber"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> @8</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0007 > <b class="">fun</b> HLOAD 0006</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0008 > </span><span style="font-variant-ligatures: no-common-ligatures; color: #9fa01c" class="">cdt</span><span style="font-variant-ligatures: no-common-ligatures" class=""> SLOAD #2 T</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0009 > <b class="">fun</b> EQ 0007 <b class="">tonumber</b></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 1 stop -> return</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">ok - recorded with NULL and not converted for NULL</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 2 start tap.lua:44</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0001 TGETS 4 0 0 ; "total"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0002 ADDVN 4 4 0 ; 1</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0003 TSETS 4 0 0 ; "total"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0004 GGET 4 1 ; "io"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0005 TGETS 4 4 2 ; "write"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0006 GGET 6 3 ; "string"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0007 TGETS 6 6 4 ; "rep"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0008 KSTR 8 5 ; " "</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0009 TGETS 9 0 6 ; "level"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0010 MULNV 9 9 1 ; 4</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0011 CALL 6 0 3</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0000 . FUNCC ; string.rep</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0012 CALLM 4 1 0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0000 . FUNCC ; io.write</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0013 ISF 1</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0014 JMP 4 => 0025</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0015 GGET 4 1 ; "io"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0016 TGETS 4 4 2 ; "write"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0017 GGET 6 3 ; "string"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0018 TGETS 6 6 7 ; "format"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0019 KSTR 8 8 ; "ok - %s\n"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 2 abort tap.lua:48 -- error thrown or hook called during recording</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">ok - recorded with NULL and converted for 0LL</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE flush</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 1 start lj-408-tonumber-cdata-record.test.lua:17</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0001 GGET 1 0 ; "tonumber"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0002 MOV 3 0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0003 CALL 1 2 2</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0000 . FUNCC ; tonumber</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0004 RET1 1 2</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 1 IR</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0001 <b class="">fun</b> SLOAD #0 R</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0002 </span><span style="font-variant-ligatures: no-common-ligatures; color: #b42419" class="">tab</span><span style="font-variant-ligatures: no-common-ligatures" class=""> FLOAD 0001 func.env</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0003 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">int</span><span style="font-variant-ligatures: no-common-ligatures" class=""> FLOAD 0002 tab.hmask</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0004 > </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">int</span><span style="font-variant-ligatures: no-common-ligatures" class=""> EQ 0003 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">+63 </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0005 p64 FLOAD 0002 tab.node</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0006 > p64 HREFK 0005 </span><span style="font-variant-ligatures: no-common-ligatures; color: #2fb41d" class="">"tonumber"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> @8</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0007 > <b class="">fun</b> HLOAD 0006</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0008 > </span><span style="font-variant-ligatures: no-common-ligatures; color: #9fa01c" class="">cdt</span><span style="font-variant-ligatures: no-common-ligatures" class=""> SLOAD #2 T</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0009 > <b class="">fun</b> EQ 0007 <b class="">tonumber</b></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0010 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">u16</span><span style="font-variant-ligatures: no-common-ligatures" class=""> FLOAD 0008 cdata.ctypeid</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0011 > </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">int</span><span style="font-variant-ligatures: no-common-ligatures" class=""> EQ 0010 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">+11 </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0012 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">i64</span><span style="font-variant-ligatures: no-common-ligatures" class=""> FLOAD 0008 cdata.int64</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0013 </span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">num</span><span style="font-variant-ligatures: no-common-ligatures" class=""> CONV 0012 </span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">num</span><span style="font-variant-ligatures: no-common-ligatures" class="">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">i64</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 1 stop -> return</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">ok - recorded with 0LL and converted for 0LL</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 2 start tap.lua:44</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0001 TGETS 4 0 0 ; "total"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0002 ADDVN 4 4 0 ; 1</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0003 TSETS 4 0 0 ; "total"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0004 GGET 4 1 ; "io"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0005 TGETS 4 4 2 ; "write"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0006 GGET 6 3 ; "string"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0007 TGETS 6 6 4 ; "rep"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0008 KSTR 8 5 ; " "</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0009 TGETS 9 0 6 ; "level"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0010 MULNV 9 9 1 ; 4</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0011 CALL 6 0 3</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0000 . FUNCC ; string.rep</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0012 CALLM 4 1 0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0000 . FUNCC ; io.write</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0013 ISF 1</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0014 JMP 4 => 0025</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0015 GGET 4 1 ; "io"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0016 TGETS 4 4 2 ; "write"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0017 GGET 6 3 ; "string"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0018 TGETS 6 6 7 ; "format"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0019 KSTR 8 8 ; "ok - %s\n"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 2 abort tap.lua:48 -- error thrown or hook called during recording</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">ok - recorded with 0LL and not converted for NULL</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 2 start tarantool.lua:66</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0016 UGET 2 1 ; fiber</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0017 TGETS 2 2 4 ; "sleep"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0018 MOV 4 1</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0019 CALL 2 1 2</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0000 . FUNCC ; C:10b23f5e0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 2 IR</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0001 <b class="">fun</b> SLOAD #0 R</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0002 > p64 UREFC 0001 #1 </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0003 > </span><span style="font-variant-ligatures: no-common-ligatures; color: #b42419" class="">tab</span><span style="font-variant-ligatures: no-common-ligatures" class=""> ULOAD 0002</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0004 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">int</span><span style="font-variant-ligatures: no-common-ligatures" class=""> FLOAD 0003 tab.hmask</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0005 > </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">int</span><span style="font-variant-ligatures: no-common-ligatures" class=""> EQ 0004 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class="">+31 </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0006 p64 FLOAD 0003 tab.node</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0007 > p64 HREFK 0006 </span><span style="font-variant-ligatures: no-common-ligatures; color: #2fb41d" class="">"sleep"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> @4</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0008 > <b class="">fun</b> HLOAD 0007</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0009 > </span><span style="font-variant-ligatures: no-common-ligatures; color: #400bd9" class="">num</span><span style="font-variant-ligatures: no-common-ligatures" class=""> SLOAD #3 T</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0010 > <b class="">fun</b> EQ 0008 <b class="">C:10b23f5e0</b></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">---- TRACE 2 stop -> stitch</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">s.ostanevich@s-ostanevich2:~/workspaces/t.sergos/third_party/luajit/test/tarantool-tests % git status</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">HEAD detached at </span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">ae79d993</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Untracked files:</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> (use "git add <file>..." to include in what will be committed)</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""><span class="Apple-tab-span" style="white-space:pre"> </span></span><span style="font-variant-ligatures: no-common-ligatures" class="">../../patch</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""><span class="Apple-tab-span" style="white-space:pre"> </span></span><span style="font-variant-ligatures: no-common-ligatures" class="">../../src/lj_opt_narrow.c.orig</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""><span class="Apple-tab-span" style="white-space:pre"> </span></span><span style="font-variant-ligatures: no-common-ligatures" class="">../../src/lj_opt_narrow.c.rej</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""><span class="Apple-tab-span" style="white-space:pre"> </span></span><span style="font-variant-ligatures: no-common-ligatures" class="">gh-6976-narrowing-of-unary-minus.test.lua</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(180, 36, 25);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""><span class="Apple-tab-span" style="white-space:pre"> </span></span><span style="font-variant-ligatures: no-common-ligatures" class="">lj-408-tonumber-cdata-record.test.lua</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">nothing added to commit but untracked files present (use "git add" to track)</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">s.ostanevich@s-ostanevich2:~/workspaces/t.sergos/third_party/luajit/test/tarantool-tests % git diff</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">s.ostanevich@s-ostanevich2:~/workspaces/t.sergos/third_party/luajit/test/tarantool-tests % </span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">s.ostanevich@s-ostanevich2:~/workspaces/t.sergos/third_party/luajit</span>/test/tarantool-tests % git -C ../../../.. describe </div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2.11.0-entrypoint-494-gdc147ec91</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></span></div></div></div><div class=""><br class=""></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 21 Sep 2022, at 15:03, Sergey Kaplun <<a href="mailto:skaplun@tarantool.org" class="">skaplun@tarantool.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi, Sergos!<br class=""><br class="">Thanks for the review!<br class=""><br class="">On 20.09.22, sergos wrote:<br class=""><blockquote type="cite" class="">First of all:<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>s.ostanevich@s-ostanevich2:~/workspaces/t.sergos % uname -a <br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Darwin s-ostanevich2 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64 x86_64<br class=""><br class="">Then I just built Tarantool with ninja:<br class=""></blockquote><br class="">I tried run the test suite with ninja, but it's failed:<br class="">| $ ninja -C build tarantool-tests<br class="">| ...<br class="">| /home/burii/builds_workspace/tarantool/master/third_party/luajit/test/tarantool-tests/lj-408.test.lua ...................................... <br class="">| not ok - recorded with NULL and converted for 0LL<br class="">| Dubious, test returned 1 (wstat 256, 0x100)<br class="">| Failed 1/4 subtests <br class="">|...<br class="">| ninja: build stopped: subcommand failed.<br class=""><br class=""><blockquote type="cite" class=""><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tarantool 2.11.0-entrypoint-494-gdc147ec91<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Target: Darwin-x86_64-debug<br class=""><br class="">Then I brought the test as a patch from the mail and run ninja test.<br class=""></blockquote><br class="">May you check the test output running without ninja like the follwing,<br class="">please:<br class=""><br class="">| $ ../src/tarantool app-tap/lj-408-tonumber-cdata-record.test.lua <br class="">| TAP version 13<br class="">| 1..4<br class="">| ok - recorded with NULL and not converted for NULL<br class="">| not ok - recorded with NULL and converted for 0LL<br class="">| ---<br class="">| filename: app-tap/lj-408-tonumber-cdata-record.test.lua<br class="">| line: 0<br class="">| trace:<br class="">| - line: 0<br class="">| source: '@app-tap/lj-408-tonumber-cdata-record.test.lua'<br class="">| filename: app-tap/lj-408-tonumber-cdata-record.test.lua<br class="">| what: main<br class="">| namewhat: <br class="">| src: app-tap/lj-408-tonumber-cdata-record.test.lua<br class="">| ...<br class="">| ok - recorded with 0LL and converted for 0LL<br class="">| ok - recorded with 0LL and not converted for NULL<br class="">| # failed subtest: 1<br class=""><br class="">Also, please, check `jit.dump()` output. Maybe there is not trace for<br class="">some reason.<br class="">You can run the following command:<br class="">| $ ../src/tarantool -e 'require"jit.dump".start("ib")' app-tap/lj-408-tonumber-cdata-record.test.lua<br class=""><br class="">The start of output should be the following without the patch.<br class=""><br class="">| 1..4<br class="">| ---- TRACE 1 start lj-408-tonumber-cdata-record.test.lua:17<br class="">| 0001 GGET 1 0 ; "tonumber"<br class="">| 0002 MOV 2 0<br class="">| 0003 CALL 1 2 2<br class="">| 0000 . FUNCC ; tonumber<br class="">| 0004 RET1 1 2<br class="">| ---- TRACE 1 IR<br class="">| 0001 fun SLOAD #0 R<br class="">| 0002 tab FLOAD 0001 func.env<br class="">| 0003 int FLOAD 0002 tab.hmask<br class="">| 0004 > int EQ 0003 +63 <br class="">| 0005 p32 FLOAD 0002 tab.node<br class="">| 0006 > p32 HREFK 0005 "tonumber" @8<br class="">| 0007 > fun HLOAD 0006<br class="">| 0008 > cdt SLOAD #1 T<br class="">| 0009 > fun EQ 0007 tonumber<br class="">| ---- TRACE 1 stop -> return<br class="">| ...<br class=""><br class=""><blockquote type="cite" class=""><br class="">The output says the test passes, while sources contains no patch. Am I missing something?<br class=""><br class="">Sergos<br class=""><br class=""></blockquote><br class=""><snipped><br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><br class=""></blockquote><br class=""></blockquote><br class="">-- <br class="">Best regards,<br class="">Sergey Kaplun<br class=""></div></div></blockquote></div><br class=""></div></body></html>