[llvm-commits] [llvm] r82218 - /llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h

Evan Cheng evan.cheng at apple.com
Fri Sep 18 09:26:10 PDT 2009


On Sep 18, 2009, at 2:50 AM, Xerxes Ranby wrote:

> Author: xranby
> Date: Fri Sep 18 04:50:00 2009
> New Revision: 82218
>
> URL: http://llvm.org/viewvc/llvm-project?rev=82218&view=rev
> Log:
> Revert r82214 completely to fix build.

Why would this part break the build?

Evan

>
> Modified:
>    llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
>
> Modified: llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h?rev=82218&r1=82217&r2=82218&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h (original)
> +++ llvm/trunk/include/llvm/CodeGen/MachineBasicBlock.h Fri Sep 18  
> 04:50:00 2009
> @@ -149,10 +149,6 @@
>     return (unsigned)Predecessors.size();
>   }
>   bool                 pred_empty() const { return Predecessors.empty 
> (); }
> -  bool                 isPred(MachineBasicBlock *MBB) const {
> -    return std::find(pred_begin(), pred_end(), MBB) != pred_end();
> -  }
> -
>   succ_iterator        succ_begin()       { return Successors.begin 
> ();   }
>   const_succ_iterator  succ_begin() const { return Successors.begin 
> ();   }
>   succ_iterator        succ_end()         { return Successors.end 
> ();     }
> @@ -169,9 +165,6 @@
>     return (unsigned)Successors.size();
>   }
>   bool                 succ_empty() const { return Successors.empty 
> ();   }
> -  bool                 isSucc(MachineBasicBlock *MBB) const {
> -    return std::find(succ_begin(), succ_end(), MBB) != succ_end();
> -  }
>
>   // LiveIn management methods.
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list