This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
a58ff5117a
llvm-project
/
clang
/
test
/
Modules
/
Inputs
/
MethodPoolBSub.h
6 lines
76 B
C
Raw
Normal View
History
Unescape
Escape
Teach global selector lookup to ignore hidden methods, which occur when the methods are declared in a submodule that has not yet been imported. Part of <rdar://problem/10634711>. llvm-svn: 172635
2013-01-17 02:47:38 +08:00
@
interface
B
(
Sub
)
-
(
char
*
)
method3
;
Retain all hidden methods in the global method pool, because they may become visible <rdar://problem/13172858>. llvm-svn: 174648
2013-02-08 03:13:24 +08:00
-
(
char
*
)
method4
;
When building a module, keep *all* declared methods in the global method pool. As an optimization, we only kept declared methods with distinct signatures in the global method pool, to keep the method lists small. Under modules, however, one could have two different methods with the same signature that occur in different (sub)modules. If only the later submodule is important, message sends to 'id' with that selector would fail because the first method (the only one that got into the method pool) was hidden. When building a module, keep *all* of the declared methods. I did a quick check of both module build time and uses of modules, and found no performance regression despite this causing us to keep more methods in the global method pool. Fixes <rdar://problem/14148896>. llvm-svn: 184504
2013-06-21 08:20:25 +08:00
-
(
id
)
method6
;
Teach global selector lookup to ignore hidden methods, which occur when the methods are declared in a submodule that has not yet been imported. Part of <rdar://problem/10634711>. llvm-svn: 172635
2013-01-17 02:47:38 +08:00
@
end