Commit Graph

1 Commits

Author SHA1 Message Date
Slava Pestov
7a4e7eda00 IRGen: Don't get enum element argument type until we need it
Instead of adding a resolveDeclSignature() call here, I'm going to live
dangerously and try to only get the enum element type in the case where
SIL type lowering has already computed it, that is, if the enum is not
indirect.

Soon this will become moot anyway because getInterfaceType() will be a
request.
2019-07-17 18:07:03 -04:00