diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-06-09 19:06:30 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-06-09 19:06:30 +0000 | 
| commit | 85d8b2bbe386bcfe669575d05b61482d7be07e5d (patch) | |
| tree | 1dc5e75ab222a9ead44c699eceafab7a6ca7b310 /lib/CodeGen/MachineModuleInfo.cpp | |
| parent | 5a5ac124e1efaf208671f01c46edb15f29ed2a0b (diff) | |
Notes
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
| -rw-r--r-- | lib/CodeGen/MachineModuleInfo.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lib/CodeGen/MachineModuleInfo.cpp b/lib/CodeGen/MachineModuleInfo.cpp index d9da7bcca4fa..eec984f53b90 100644 --- a/lib/CodeGen/MachineModuleInfo.cpp +++ b/lib/CodeGen/MachineModuleInfo.cpp @@ -114,7 +114,7 @@ MCSymbol *MMIAddrLabelMap::getAddrLabelSymbol(BasicBlock *BB) {    // Otherwise, this is a new entry, create a new symbol for it and add an    // entry to BBCallbacks so we can be notified if the BB is deleted or RAUWd. -  BBCallbacks.push_back(BB); +  BBCallbacks.emplace_back(BB);    BBCallbacks.back().setMap(this);    Entry.Index = BBCallbacks.size()-1;    Entry.Fn = BB->getParent(); @@ -308,6 +308,7 @@ void MachineModuleInfo::EndFunction() {    // Clean up exception info.    LandingPads.clear(); +  PersonalityTypeCache = EHPersonality::Unknown;    CallSiteMap.clear();    TypeInfos.clear();    FilterIds.clear(); | 
