diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-08-02 17:32:43 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-08-02 17:32:43 +0000 | 
| commit | b7eb8e35e481a74962664b63dfb09483b200209a (patch) | |
| tree | 1937fb4a348458ce2d02ade03ac3bb0aa18d2fcd /lib/CodeGen/MachineSSAUpdater.cpp | |
| parent | eb11fae6d08f479c0799db45860a98af528fa6e7 (diff) | |
Notes
Diffstat (limited to 'lib/CodeGen/MachineSSAUpdater.cpp')
| -rw-r--r-- | lib/CodeGen/MachineSSAUpdater.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/CodeGen/MachineSSAUpdater.cpp b/lib/CodeGen/MachineSSAUpdater.cpp index 773661965f18..542491eabbf2 100644 --- a/lib/CodeGen/MachineSSAUpdater.cpp +++ b/lib/CodeGen/MachineSSAUpdater.cpp @@ -254,14 +254,14 @@ public:    private:      MachineInstr *PHI;      unsigned idx; -  +    public:      explicit PHI_iterator(MachineInstr *P) // begin iterator        : PHI(P), idx(1) {}      PHI_iterator(MachineInstr *P, bool) // end iterator        : PHI(P), idx(PHI->getNumOperands()) {} -    PHI_iterator &operator++() { idx += 2; return *this; }  +    PHI_iterator &operator++() { idx += 2; return *this; }      bool operator==(const PHI_iterator& x) const { return idx == x.idx; }      bool operator!=(const PHI_iterator& x) const { return !operator==(x); } | 
