make test for relop-length more sensitive
5_2.ms original commit: b34695bb3faa28c3e55d65cc659f6a9f2c3b1547
This commit is contained in:
parent
3c53b8b940
commit
40d33fc72e
2
LOG
2
LOG
|
@ -1368,3 +1368,5 @@
|
||||||
primdata.ss
|
primdata.ss
|
||||||
- small fix in relop-length to enable the optimization
|
- small fix in relop-length to enable the optimization
|
||||||
cpnanopass.ss
|
cpnanopass.ss
|
||||||
|
- make test for relop-length more sensitive
|
||||||
|
5_2.ms
|
||||||
|
|
|
@ -188,7 +188,7 @@
|
||||||
[(_ prim)
|
[(_ prim)
|
||||||
(let ()
|
(let ()
|
||||||
(define (f x)
|
(define (f x)
|
||||||
(and
|
(list
|
||||||
(prim (#3%length x) 0)
|
(prim (#3%length x) 0)
|
||||||
(prim 0 (#3%length x))
|
(prim 0 (#3%length x))
|
||||||
(prim (#3%length x) 1)
|
(prim (#3%length x) 1)
|
||||||
|
@ -204,7 +204,7 @@
|
||||||
(let ([n (length x)])
|
(let ([n (length x)])
|
||||||
(equal?
|
(equal?
|
||||||
(f x)
|
(f x)
|
||||||
(and
|
(list
|
||||||
(prim n 0)
|
(prim n 0)
|
||||||
(prim 0 n)
|
(prim 0 n)
|
||||||
(prim n 1)
|
(prim n 1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user