UNPKG
json-pipeline
Version:
latest (3.12.3)
3.12.3
3.12.2
3.12.1
3.12.0
3.11.2
3.11.1
3.11.0
3.10.2
3.10.1
3.10.0
3.9.1
3.9.0
3.8.1
3.8.0
3.7.1
3.7.0
3.6.0
3.5.3
3.5.2
3.5.1
3.5.0
3.4.0
3.3.2
3.3.1
3.3.0
3.2.0
3.1.2
3.1.1
3.1.0
3.0.0
2.10.0
2.9.0
2.8.0
2.7.0
2.6.0
2.5.0
2.4.1
2.4.0
2.3.0
2.2.1
2.2.0
2.1.0
2.0.0
1.6.0
1.5.3
1.5.2
1.5.1
1.5.0
1.4.1
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
JSON pipeline for abstract compiler
github.com/indutny/json-pipeline
indutny/json-pipeline
json-pipeline
/
lib
/
pipeline
/
register
/
spill-type-range.js
13 lines
(10 loc)
•
222 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict'
;
function
SpillTypeRange
(
type,
from
, to
) {
this
.
type
= type;
this
.
from
=
from
;
this
.
to
= to; }
module
.
exports
=
SpillTypeRange
;
SpillTypeRange
.
sort
=
function
sort
(
a, b
) {
return
a.
from
- b.
from
; };