diff options
author | Daniel Jasper <djasper@google.com> | 2013-07-25 09:32:14 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-07-25 09:32:14 +0000 |
commit | abe2a36b7eeac46d1b9c0aabf616e68125dd329d (patch) | |
tree | e67904e9b7f761b89029beae1aa9e901d554530f /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | |
parent | 5b463ceaf5fc07201a866dc0cabf584b755f5804 (diff) | |
download | bcm5719-llvm-abe2a36b7eeac46d1b9c0aabf616e68125dd329d.tar.gz bcm5719-llvm-abe2a36b7eeac46d1b9c0aabf616e68125dd329d.zip |
Use memoization for has()-matcher.
In TUs with large classes, a matcher like
methodDecl(ofClass(recordDecl(has(varDecl()))))
(finding all member functions of classes with static variables)
becomes unbearably slow otherwise.
llvm-svn: 187115
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp')
0 files changed, 0 insertions, 0 deletions