MCPcopy
hub / github.com/sql-js/sql.js / _vdbeSorterCompareText

Function _vdbeSorterCompareText

js/sql-debug.js:315374–315548  ·  view source on GitHub ↗
($0,$1,$2,$3,$4,$5)

Source from the content-addressed store, hash-verified

315372 STACKTOP = sp;return ($$0|0);
315373}
315374function _vdbeSorterCompareText($0,$1,$2,$3,$4,$5) {
315375 $0 = $0|0;
315376 $1 = $1|0;
315377 $2 = $2|0;
315378 $3 = $3|0;
315379 $4 = $4|0;
315380 $5 = $5|0;
315381 var $$0$ = 0, $$044 = 0, $$1 = 0, $$141 = 0, $$143 = 0, $10 = 0, $100 = 0, $101 = 0, $102 = 0, $103 = 0, $104 = 0, $105 = 0, $106 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0;
315382 var $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0;
315383 var $38 = 0, $39 = 0, $40 = 0, $41 = 0, $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0;
315384 var $58 = 0, $59 = 0, $6 = 0, $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0;
315385 var $76 = 0, $77 = 0, $78 = 0, $79 = 0, $8 = 0, $80 = 0, $81 = 0, $82 = 0, $83 = 0, $84 = 0, $85 = 0, $86 = 0, $87 = 0, $88 = 0, $89 = 0, $9 = 0, $90 = 0, $91 = 0, $92 = 0, $93 = 0;
315386 var $94 = 0, $95 = 0, $96 = 0, $97 = 0, $98 = 0, $99 = 0, $storemerge$i = 0, $storemerge$i31 = 0, label = 0, sp = 0;
315387 sp = STACKTOP;
315388 STACKTOP = STACKTOP + 16|0;
315389 $6 = sp;
315390 $7 = HEAP8[$2>>0]|0;
315391 $8 = $7&255;
315392 $9 = (($2) + ($8)|0);
315393 $10 = HEAP8[$4>>0]|0;
315394 $11 = $10&255;
315395 $12 = (($4) + ($11)|0);
315396 $13 = ((($2)) + 1|0);
315397 $14 = HEAP8[$13>>0]|0;
315398 $15 = ($14<<24>>24)>(-1);
315399 $16 = $14&255;
315400 do {
315401 if ($15) {
315402 $$143 = $16;
315403 } else {
315404 $17 = ((($2)) + 2|0);
315405 $18 = HEAP8[$17>>0]|0;
315406 $19 = $18&255;
315407 $20 = $19 & 128;
315408 $21 = ($20|0)==(0);
315409 if ($21) {
315410 $22 = $16 << 7;
315411 $23 = $22 & 16256;
315412 $24 = $19 | $23;
315413 $$143 = $24;
315414 break;
315415 }
315416 $25 = ((($2)) + 3|0);
315417 $26 = HEAP8[$25>>0]|0;
315418 $27 = $26&255;
315419 $28 = $27 & 128;
315420 $29 = ($28|0)==(0);
315421 if ($29) {
315422 $30 = $16 << 14;
315423 $31 = $27 | $30;
315424 $32 = $31 & 2080895;
315425 $33 = $19 << 7;
315426 $34 = $33 & 16256;
315427 $35 = $32 | $34;
315428 $$143 = $35;
315429 break;
315430 } else {
315431 (_sqlite3GetVarint($13,$6)|0);

Callers

nothing calls this directly

Calls 4

_sqlite3GetVarintFunction · 0.85
_memcmpFunction · 0.85
_sqlite3VdbeRecordUnpackFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…