MCPcopy Create free account
hub / github.com/sql-js/sql.js / _int_cmp

Function _int_cmp

js/sql-debug.js:9710–9739  ·  view source on GitHub ↗
($0,$1)

Source from the content-addressed store, hash-verified

9708 return;
9709}
9710function _int_cmp($0,$1) {
9711 $0 = $0|0;
9712 $1 = $1|0;
9713 var $$ = 0, $$0 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0;
9714 var $8 = 0, $9 = 0, label = 0, sp = 0;
9715 sp = STACKTOP;
9716 $2 = $0;
9717 $3 = $2;
9718 $4 = HEAP32[$3>>2]|0;
9719 $5 = (($2) + 4)|0;
9720 $6 = $5;
9721 $7 = HEAP32[$6>>2]|0;
9722 $8 = $1;
9723 $9 = $8;
9724 $10 = HEAP32[$9>>2]|0;
9725 $11 = (($8) + 4)|0;
9726 $12 = $11;
9727 $13 = HEAP32[$12>>2]|0;
9728 $14 = ($4|0)==($10|0);
9729 $15 = ($7|0)==($13|0);
9730 $16 = $14 & $15;
9731 $17 = ($7|0)<($13|0);
9732 $18 = ($4>>>0)<($10>>>0);
9733 $19 = ($7|0)==($13|0);
9734 $20 = $19 & $18;
9735 $21 = $17 | $20;
9736 $$ = $21 ? -1 : 1;
9737 $$0 = $16 ? 0 : $$;
9738 return ($$0|0);
9739}
9740function _double_cmp($0,$1) {
9741 $0 = $0|0;
9742 $1 = $1|0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…