Commit Graph

11224 Commits

Author SHA1 Message Date
Roman Levenstein
e05a72a1cb [sil-devirtualizer] Add a ClassHierarchyAnalysis parameter to tryDevirtualizeApply.
Not functionality changes yet. Subsequent patches will make use of this parameter.
2015-12-14 10:11:47 -08:00
Roman Levenstein
cbcd008ac4 [sil-devirtualizer] Rename isClassWithUnboundGenericParameters and extend it to work with any nominal types 2015-12-14 10:11:46 -08:00
Roman Levenstein
d6bb64a84c [sil-devirtualizer] Only check accessibility if it is available. 2015-12-14 10:11:46 -08:00
Roman Levenstein
3a4184dad9 Extend a few lookup APIs to use AbstractFunctionDecl instead of FuncDecl. NFC.
This is required for upcoming changes in the devirtualizer.
2015-12-14 10:11:46 -08:00
Erik Eckstein
0880ddd6c7 [ReleaseDevirtualizer] fix non-detriministic crash.
rdar://problem/23868367
2015-12-14 09:57:05 -08:00
practicalswift
c6e8459187 Fix typos. 2015-12-14 11:13:30 +01:00
Dmitri Gribenko
f957a68170 Merge pull request #513 from practicalswift/fix-typos-17
Fix typos (17 of 30)
2015-12-14 01:11:28 -08:00
Dmitri Gribenko
c8b67f6f6c Merge pull request #511 from practicalswift/fix-typos-15
Fix typos (15 of 30)
2015-12-14 01:08:44 -08:00
Dmitri Gribenko
a50b8cd659 Merge pull request #510 from practicalswift/fix-typos-14
Fix typos (14 of 30)
2015-12-14 01:07:49 -08:00
Dmitri Gribenko
126a018c4e Merge pull request #509 from practicalswift/fix-typos-13
Fix typos (13 of 30)
2015-12-14 01:06:53 -08:00
Dmitri Gribenko
ac79855ebd Merge pull request #507 from practicalswift/fix-typos-11
Fix typos (11 of 30)
2015-12-14 01:05:49 -08:00
Mark Lacey
6c4bc75d3f Use a work list when running function passes.
Rather than iterating over an array of functions, build a work list and
pop functions off of it.

This is a small step towards allowing function passes to create new
functions to be processed.
2015-12-13 20:42:07 -08:00
Dmitri Gribenko
23366f2001 Merge pull request #506 from practicalswift/fix-typos-10
Fix typos (10 of 30)
2015-12-13 20:17:38 -08:00
Dmitri Gribenko
ac57add3a2 Merge pull request #504 from practicalswift/fix-typos-8
Fix typos (8 of 30)
2015-12-13 20:11:40 -08:00
Dmitri Gribenko
7001cfa2e0 Merge pull request #503 from practicalswift/fix-typos-7
Fix typos (7 of 30)
2015-12-13 20:11:12 -08:00
Michael Gottesman
b838e121ed Merge pull request #502 from practicalswift/fix-typos-6
Fix typos (6 of 30)
2015-12-13 19:03:41 -06:00
Michael Gottesman
d94fa0a515 Merge pull request #501 from practicalswift/fix-typos-5
Fix typos (5 of 30)
2015-12-13 18:55:20 -06:00
Dmitri Gribenko
15be903fe2 Merge pull request #500 from practicalswift/fix-typos-4
Fix typos (4 of 30)
2015-12-13 16:21:02 -08:00
Dmitri Gribenko
78a568b4bd Merge pull request #499 from practicalswift/fix-typos-3
Fix typos (3 of 30)
2015-12-13 16:20:07 -08:00
practicalswift
41c5b46791 Fix incorrect typo fix. 2015-12-14 00:50:41 +01:00
Dmitri Gribenko
e17457c2f8 Merge pull request #498 from practicalswift/fix-typos-2
Fix typos (2 of 30)
2015-12-13 15:30:32 -08:00
practicalswift
67f6f9308d Fix typo: visiblity → visibility 2015-12-14 00:12:38 +01:00
practicalswift
2c98764fdb Fix typo: invertion → inversion 2015-12-14 00:12:00 +01:00
practicalswift
a297b26278 Fix typo: invaliate → invalidate 2015-12-14 00:12:00 +01:00
practicalswift
5cefd90204 Fix typo: intializer → initializer 2015-12-14 00:11:59 +01:00
practicalswift
4e757bd493 Fix typo: intialization → initialization 2015-12-14 00:11:59 +01:00
practicalswift
163cb4a062 Fix typo: intefering → interfering 2015-12-14 00:11:58 +01:00
practicalswift
448880afe4 Fix typo: indentity → identity 2015-12-14 00:11:54 +01:00
practicalswift
c0051bfd72 Fix typo: incomming → incoming 2015-12-14 00:11:54 +01:00
practicalswift
8d3aa261c8 Fix typo: incomming → incoming 2015-12-14 00:11:54 +01:00
practicalswift
a0428d1993 Fix typo: guarantuees → guarantees 2015-12-14 00:11:49 +01:00
practicalswift
f17ecbc848 Fix typo: guarantueed → guaranteed 2015-12-14 00:11:49 +01:00
practicalswift
e525c62154 Fix typo: gaurantee → guarantee 2015-12-14 00:11:48 +01:00
practicalswift
637bce4495 Fix typo: gaurantee → guarantee 2015-12-14 00:11:48 +01:00
practicalswift
3b041caddb Fix typo: frequenly → frequently 2015-12-14 00:11:48 +01:00
practicalswift
d677b934e8 Fix typo: explictly → explicitly 2015-12-14 00:11:46 +01:00
practicalswift
ab9514f02f Fix typo: existental → existential 2015-12-14 00:11:45 +01:00
practicalswift
b4f2e5dfdf Fix typo: eliminater → eliminator 2015-12-14 00:11:40 +01:00
practicalswift
882d0b3e28 Fix typo: elimimate → eliminate 2015-12-14 00:11:39 +01:00
practicalswift
4d51b85da1 Fix typo: destory → destroy 2015-12-14 00:11:36 +01:00
practicalswift
e2183135de Fix typo: decement → decrement 2015-12-14 00:11:33 +01:00
practicalswift
1cb0c69086 Fix typo: convertions → conversions 2015-12-14 00:11:29 +01:00
practicalswift
4d1b0567b6 Fix typo: contant → constant 2015-12-14 00:11:28 +01:00
practicalswift
f873c56169 Fix typo: comparisions → comparisons 2015-12-14 00:11:24 +01:00
practicalswift
6b06eb9d17 Fix typo: completedly → completely 2015-12-14 00:11:24 +01:00
practicalswift
ba61f44eb5 Fix typo: commutitively → commutatively 2015-12-14 00:11:24 +01:00
practicalswift
fdeb03033c Fix typo: classsic → classic 2015-12-14 00:11:23 +01:00
practicalswift
2add3c9033 Fix typo: capabable → capable 2015-12-14 00:11:21 +01:00
practicalswift
3007523154 Fix typo: cannonicalization → canonicalization 2015-12-14 00:11:20 +01:00
practicalswift
03ab74760a Fix typo: cannonical → canonical 2015-12-14 00:11:20 +01:00