forked from OSchip/llvm-project
Add a const method to iterator over PHI incoming values.
This will be used in the next commit which converts code to use incoming_values(). llvm-svn: 237168
This commit is contained in:
parent
47e80cd796
commit
26b7aa020b
|
@ -2278,6 +2278,8 @@ public:
|
|||
|
||||
op_range incoming_values() { return operands(); }
|
||||
|
||||
const_op_range incoming_values() const { return operands(); }
|
||||
|
||||
/// getNumIncomingValues - Return the number of incoming edges
|
||||
///
|
||||
unsigned getNumIncomingValues() const { return getNumOperands(); }
|
||||
|
|
Loading…
Reference in New Issue