[llvm] r203127 - Micro optimization: this code only needs to look at eh labels.
Rafael Espindola
rafael.espindola at gmail.com
Thu Mar 6 08:31:40 PST 2014
Author: rafael
Date: Thu Mar 6 10:31:40 2014
New Revision: 203127
URL: http://llvm.org/viewvc/llvm-project?rev=203127&view=rev
Log:
Micro optimization: this code only needs to look at eh labels.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp?rev=203127&r1=203126&r2=203127&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.cpp Thu Mar 6 10:31:40 2014
@@ -241,7 +241,7 @@ ComputeCallSiteTable(SmallVectorImpl<Cal
I != E; ++I) {
for (MachineBasicBlock::const_iterator MI = I->begin(), E = I->end();
MI != E; ++MI) {
- if (!MI->isLabel()) {
+ if (!MI->isEHLabel()) {
if (MI->isCall())
SawPotentiallyThrowing |= !CallToNoUnwindFunction(MI);
continue;
More information about the llvm-commits
mailing list