Commit Graph

7 Commits

Author SHA1 Message Date
Mark Lacey
c1ae6372b0 Move updates to the DevirtClassMethodInfo parameter to the of the function.
Only update the structure once we've determined we can devirtualize.

NFC.

Swift SVN r25794
2015-03-06 00:54:49 +00:00
Mark Lacey
b72e453ec2 Separate collecting substitutions in devirtualization.
This is a separate step worthy of its own function.

NFC.

Swift SVN r25793
2015-03-06 00:54:47 +00:00
Mark Lacey
dcf433298d Simplify determination of substitutions in devirtualization.
Swift SVN r25792
2015-03-05 23:19:36 +00:00
Mark Lacey
40ffcc0148 Small refactoring clean-up.
Separate finding the superclass from determining substiutions.

NFC.

Swift SVN r25789
2015-03-05 22:22:34 +00:00
Mark Lacey
b76ad3a806 Small simplification to check for null type.
Swift SVN r25788
2015-03-05 22:22:33 +00:00
Mark Lacey
fcb313bbc9 Remove code that has no effect.
Swift SVN r25787
2015-03-05 22:22:31 +00:00
Mark Lacey
757ae5796e First step in splitting out a utility for devirtualizing from the pass.
No functional change here, and this is not in its final form. This is
just cut/paste/tweak to split the code apart in a first reasonable form.

Swift SVN r25769
2015-03-04 22:21:38 +00:00