]> gitweb.factorcode.org Git - factor.git/commit
compiler.propagation.call-effect: handle class-info only value-infos
authortimor <timor.dd@googlemail.com>
Sat, 17 Oct 2020 17:24:46 +0000 (19:24 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 18 Oct 2020 00:17:26 +0000 (00:17 +0000)
commitb0ce2b638aa16a9ededd3cec3cc25a2fa3735f38
tree639ed20554b563a207029ba9f601859cea532017
parentf9615d2667ac8ac2f5663524cd38e736a5ed1760
compiler.propagation.call-effect: handle class-info only value-infos

Checks if the `slots>>` value-info slot is non-empty before trying to infer
effect from non-literal value-info.

Fixes #2351
basis/compiler/tree/propagation/call-effect/call-effect-tests.factor
basis/compiler/tree/propagation/call-effect/call-effect.factor