theraven
|
9d5452b147
|
Fixed LLVM passes to compile with recent LLVM.
Made class caching pass cache classes in a static variable if the original class is not available.
|
15 years ago |
theraven
|
23447feca5
|
Profile-driven inlining of Objective-C methods.
|
16 years ago |
theraven
|
6a58d3d49d
|
Added unfinished inliner that uses type feedback info to inline instance methods.
Made class method inliner also inline message sends to super.
Various updates caused by clang now attaching more sensible metadata to the IR.
|
16 years ago |
theraven
|
6cac2816cc
|
Added speculative inlining of class messages. Currently inlines all that it can, without deciding whether it's sensible.
|
16 years ago |
theraven
|
84b41a8464
|
Added -gnu-class-lookup-cache and -gnu-class-imp-cache passes. These add caching for class messages and also skip the class lookup (using the class symbol directly) where possible.
In combination, these make class messages marginally slower than function calls, rather than significantly slower than message sends.
|
16 years ago |
theraven
|
352dfe2d93
|
Removed some unneeded #includes.
|
16 years ago |
theraven
|
874ec4bd66
|
Fixed IMP cacher to not cache the slot if the lookup function changes the receiver (this could result in a method being called on the wrong receiver, which would just be confusing).
|
16 years ago |
theraven
|
dfc4a0286b
|
Factored out code that performs IMP caching into a separate class. This can now be used by other passes that cache IMPs outside of loops (for example, always caching class messages because they always have the same receiver).
|
16 years ago |