commit | 4259a1a7d8a0f6e8e53bccd516725f8480751a49 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Sat Dec 01 01:38:48 2012 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Sat Dec 01 01:38:48 2012 +0000 |
tree | 5532095b21caa477c282ab2dfa7734a8c904e5db | |
parent | 657b75b9946eae763725b413841dfd01ed12a051 [diff] |
MC/AsmParser: Avoid unnecessary use of SourceMgr::FindBufferForLoc() - Each macro instantiation introduces a new buffer, and FindBufferForLoc() is linear, so previously macro instantiation could be N^2 for some pathological inputs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169073 91177308-0d34-0410-b5e6-96231b3b80d8