redex: fix rvm ordered generation in n benchmark
This commit is contained in:
parent
2d42507515
commit
b540cae4df
|
@ -450,7 +450,8 @@
|
||||||
(regexp-match?
|
(regexp-match?
|
||||||
#rx"domain"
|
#rx"domain"
|
||||||
(exn-message exc)))
|
(exn-message exc)))
|
||||||
(printf "exception on ~s\n" e))
|
(printf "exception on ~s\n~s\n" e
|
||||||
|
(exn-message exc)))
|
||||||
#f)])
|
#f)])
|
||||||
(run e '() 100))
|
(run e '() 100))
|
||||||
[(cutoff) #t]
|
[(cutoff) #t]
|
||||||
|
@ -477,6 +478,8 @@
|
||||||
(let ([index 0])
|
(let ([index 0])
|
||||||
(λ ()
|
(λ ()
|
||||||
(begin0
|
(begin0
|
||||||
|
(generate-term bytecode e #:i-th index)
|
||||||
|
(set! index (add1 index))))))
|
||||||
|
|
||||||
(test-equal
|
(test-equal
|
||||||
(bytecode-ok?
|
(bytecode-ok?
|
||||||
|
@ -484,7 +487,5 @@
|
||||||
(let-rec ((lam () (0) (application (loc-noclr 0))))
|
(let-rec ((lam () (0) (application (loc-noclr 0))))
|
||||||
'x)))
|
'x)))
|
||||||
#t)
|
#t)
|
||||||
(generate-term bytecode e #:i-th index)
|
|
||||||
(set! index (add1 index))))))
|
|
||||||
|
|
||||||
(define fixed '())
|
(define fixed '())
|
||||||
|
|
|
@ -447,7 +447,8 @@
|
||||||
(regexp-match?
|
(regexp-match?
|
||||||
#rx"domain"
|
#rx"domain"
|
||||||
(exn-message exc)))
|
(exn-message exc)))
|
||||||
(printf "exception on ~s\n" e))
|
(printf "exception on ~s\n~s\n" e
|
||||||
|
(exn-message exc)))
|
||||||
#f)])
|
#f)])
|
||||||
(run e '() 100))
|
(run e '() 100))
|
||||||
[(cutoff) #t]
|
[(cutoff) #t]
|
||||||
|
@ -474,6 +475,8 @@
|
||||||
(let ([index 0])
|
(let ([index 0])
|
||||||
(λ ()
|
(λ ()
|
||||||
(begin0
|
(begin0
|
||||||
|
(generate-term bytecode e #:i-th index)
|
||||||
|
(set! index (add1 index))))))
|
||||||
|
|
||||||
(test-equal
|
(test-equal
|
||||||
(bytecode-ok?
|
(bytecode-ok?
|
||||||
|
@ -482,7 +485,5 @@
|
||||||
(application (case-lam (lam (ref) () (loc-box 0)))
|
(application (case-lam (lam (ref) () (loc-box 0)))
|
||||||
(loc-box 1)))))
|
(loc-box 1)))))
|
||||||
#t)
|
#t)
|
||||||
(generate-term bytecode e #:i-th index)
|
|
||||||
(set! index (add1 index))))))
|
|
||||||
|
|
||||||
(define fixed '())
|
(define fixed '())
|
||||||
|
|
|
@ -445,7 +445,8 @@
|
||||||
(regexp-match?
|
(regexp-match?
|
||||||
#rx"domain"
|
#rx"domain"
|
||||||
(exn-message exc)))
|
(exn-message exc)))
|
||||||
(printf "exception on ~s\n" e))
|
(printf "exception on ~s\n~s\n" e
|
||||||
|
(exn-message exc)))
|
||||||
#f)])
|
#f)])
|
||||||
(run e '() 100))
|
(run e '() 100))
|
||||||
[(cutoff) #t]
|
[(cutoff) #t]
|
||||||
|
@ -472,6 +473,8 @@
|
||||||
(let ([index 0])
|
(let ([index 0])
|
||||||
(λ ()
|
(λ ()
|
||||||
(begin0
|
(begin0
|
||||||
|
(generate-term bytecode e #:i-th index)
|
||||||
|
(set! index (add1 index))))))
|
||||||
|
|
||||||
(test-equal
|
(test-equal
|
||||||
(bytecode-ok?
|
(bytecode-ok?
|
||||||
|
@ -480,7 +483,5 @@
|
||||||
'x
|
'x
|
||||||
(install-value 0 'y (boxenv 0 'z))))
|
(install-value 0 'y (boxenv 0 'z))))
|
||||||
#t)
|
#t)
|
||||||
(generate-term bytecode e #:i-th index)
|
|
||||||
(set! index (add1 index))))))
|
|
||||||
|
|
||||||
(define fixed '())
|
(define fixed '())
|
||||||
|
|
|
@ -446,7 +446,8 @@
|
||||||
(regexp-match?
|
(regexp-match?
|
||||||
#rx"domain"
|
#rx"domain"
|
||||||
(exn-message exc)))
|
(exn-message exc)))
|
||||||
(printf "exception on ~s\n" e))
|
(printf "exception on ~s\n~s\n" e
|
||||||
|
(exn-message exc)))
|
||||||
#f)])
|
#f)])
|
||||||
(run e '() 100))
|
(run e '() 100))
|
||||||
[(cutoff) #t]
|
[(cutoff) #t]
|
||||||
|
@ -473,13 +474,13 @@
|
||||||
(let ([index 0])
|
(let ([index 0])
|
||||||
(λ ()
|
(λ ()
|
||||||
(begin0
|
(begin0
|
||||||
|
(generate-term bytecode e #:i-th index)
|
||||||
|
(set! index (add1 index))))))
|
||||||
|
|
||||||
(test-equal
|
(test-equal
|
||||||
(bytecode-ok?
|
(bytecode-ok?
|
||||||
'(let-one 'x
|
'(let-one 'x
|
||||||
(branch #f (boxenv 0 'y) (loc-box 0))))
|
(branch #f (boxenv 0 'y) (loc-box 0))))
|
||||||
#t)
|
#t)
|
||||||
(generate-term bytecode e #:i-th index)
|
|
||||||
(set! index (add1 index))))))
|
|
||||||
|
|
||||||
(define fixed '())
|
(define fixed '())
|
||||||
|
|
|
@ -446,7 +446,8 @@
|
||||||
(regexp-match?
|
(regexp-match?
|
||||||
#rx"domain"
|
#rx"domain"
|
||||||
(exn-message exc)))
|
(exn-message exc)))
|
||||||
(printf "exception on ~s\n" e))
|
(printf "exception on ~s\n~s\n" e
|
||||||
|
(exn-message exc)))
|
||||||
#f)])
|
#f)])
|
||||||
(run e '() 100))
|
(run e '() 100))
|
||||||
[(cutoff) #t]
|
[(cutoff) #t]
|
||||||
|
@ -473,6 +474,8 @@
|
||||||
(let ([index 0])
|
(let ([index 0])
|
||||||
(λ ()
|
(λ ()
|
||||||
(begin0
|
(begin0
|
||||||
|
(generate-term bytecode e #:i-th index)
|
||||||
|
(set! index (add1 index))))))
|
||||||
|
|
||||||
(test-equal
|
(test-equal
|
||||||
(bytecode-ok?
|
(bytecode-ok?
|
||||||
|
@ -481,7 +484,5 @@
|
||||||
(let-rec ((lam () (0) 'x)) 'y)
|
(let-rec ((lam () (0) 'x)) 'y)
|
||||||
(loc-noclr 0))))
|
(loc-noclr 0))))
|
||||||
#t)
|
#t)
|
||||||
(generate-term bytecode e #:i-th index)
|
|
||||||
(set! index (add1 index))))))
|
|
||||||
|
|
||||||
(define fixed '())
|
(define fixed '())
|
||||||
|
|
|
@ -445,7 +445,8 @@
|
||||||
(regexp-match?
|
(regexp-match?
|
||||||
#rx"domain"
|
#rx"domain"
|
||||||
(exn-message exc)))
|
(exn-message exc)))
|
||||||
(printf "exception on ~s\n" e))
|
(printf "exception on ~s\n~s\n" e
|
||||||
|
(exn-message exc)))
|
||||||
#f)])
|
#f)])
|
||||||
(run e '() 100))
|
(run e '() 100))
|
||||||
[(cutoff) #t]
|
[(cutoff) #t]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user