better instruction selection when the popenvironment doesn't have to skip any frames.
This commit is contained in:
parent
a640cfe083
commit
2c887255d8
|
@ -285,10 +285,12 @@ EOF
|
||||||
"undefined")))
|
"undefined")))
|
||||||
", "))]
|
", "))]
|
||||||
[(PopEnvironment? stmt)
|
[(PopEnvironment? stmt)
|
||||||
|
(if (= (PopEnvironment-skip stmt) 0)
|
||||||
|
(format "MACHINE.env.length = MACHINE.env.length - ~a;" (PopEnvironment-n stmt))
|
||||||
(format "MACHINE.env.splice(MACHINE.env.length-(~a),~a);"
|
(format "MACHINE.env.splice(MACHINE.env.length-(~a),~a);"
|
||||||
(+ (PopEnvironment-skip stmt)
|
(+ (PopEnvironment-skip stmt)
|
||||||
(PopEnvironment-n stmt))
|
(PopEnvironment-n stmt))
|
||||||
(PopEnvironment-n stmt))])))
|
(PopEnvironment-n stmt)))])))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user