Speed up isBytecodeLPath from 20s to .01s in common cases. This makes -native
authorChris Lattner <sabre@nondot.org>
Fri, 23 Sep 2005 06:11:24 +0000 (06:11 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 23 Sep 2005 06:11:24 +0000 (06:11 +0000)
commit7b5634d2135ca0bfb02767d872573f90a7d73128
tree4c3741c0abe0c9d147824a1cb8cb6b45b3e547f3
parentf39421302171a9d3aef26bb42de2d46b7325cf9e
Speed up isBytecodeLPath from 20s to .01s in common cases.  This makes -native
not completely painful to use.  Once we decide a directory has a bytecode
library, we know it this function returns true, no need to scan entire directories.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23405 91177308-0d34-0410-b5e6-96231b3b80d8
tools/gccld/GenerateCode.cpp