commit | 1487a2ee93918120d2b46a8430d9b19714c93da1 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Wed Apr 20 19:05:59 2016 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Wed Apr 20 19:05:59 2016 +0000 |
tree | 4183bd4bb415ab7d50658fae90ac33bd211a82ee | |
parent | 19c2c539163ea895e7fc772093c9558848a472f9 [diff] |
IR: Avoid mallocs in constructor of ModuleSlotTracker A ModuleSlotTracker can be created without actually being used (e.g., r266889 added one to the Verifier). Create the SlotTracker within it lazily on the first call to ModuleSlotTracker::getMachine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266902 91177308-0d34-0410-b5e6-96231b3b80d8