added dyn_compare support for int64
@@ -343,6 +343,11 @@ HL_PRIM int hl_dyn_compare( vdynamic *a, vdynamic *b ) {
int d = a->v.i - b->v.i;
return d == hl_invalid_comparison ? -1 : d;
}
+ case TK2(HI64,HI64):
+ {
+ int64 d = a->v.i64 - b->v.i64;
+ return d == 0 ? 0 : (d > 0 ? 1 : -1);
+ }
case TK2(HF32,HF32):
return fcompare(a->v.f,b->v.f);
case TK2(HF64,HF64):
