aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2016-04-09 18:59:48 +0000
committerManman Ren <manman.ren@gmail.com>2016-04-09 18:59:48 +0000
commit71224530c10ae7349c008237ec5c284fd1451c62 (patch)
treee2fa9c7c478eff5de579075759a7d1698488aa0c /llvm/lib/CodeGen/MachineFunction.cpp
parent3891e9e859e76dec82f88a9ed902fe7e016147cd (diff)
downloadllvm-71224530c10ae7349c008237ec5c284fd1451c62.zip
llvm-71224530c10ae7349c008237ec5c284fd1451c62.tar.gz
llvm-71224530c10ae7349c008237ec5c284fd1451c62.tar.bz2
ObjC kindof: check the context when inserting methods to global pool.
To make kindof lookup work, we need to insert methods with different context into the global pool, even though they have the same siganture. Since diagnosis of availability is performed on the best candidate, which is often the first candidate from the global pool, we prioritize the methods that are unavaible or deprecated to the head of the list. Since we now have more methods in the global pool, we need to watch out for performance impact. rdar://25635831 llvm-svn: 265877
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions