Skip to content

Commit

Permalink
llvm/ObjCARC: Split OptimizeIndividualCallImpl out of OptimizeIndivid…
Browse files Browse the repository at this point in the history
…ualCalls, NFC

Split out a helper function for the individual call optimizations and
skip useless calls to it (where the instruction is not an ARC
intrinsic).  Besides reducing indentation (and possibly speeding up
compile time in some small way), an upcoming patch will add additional
calls and expand out the `switch`.
  • Loading branch information
dexonsmith committed Nov 18, 2019
1 parent af43528 commit 783cb86
Showing 1 changed file with 264 additions and 245 deletions.
Loading

0 comments on commit 783cb86

Please sign in to comment.