diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-08 06:06:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-08 06:06:26 +0000 |
commit | 34f849098bfb8850fa34fbd115ba9b2e55c85a32 (patch) | |
tree | ace26845823396a663569c8dd4a3b45cef0b5711 /include/llvm/Analysis/PHITransAddr.h | |
parent | 87f8e4902757e8dfdecb0056f530755d61a35adb (diff) | |
download | external_llvm-34f849098bfb8850fa34fbd115ba9b2e55c85a32.zip external_llvm-34f849098bfb8850fa34fbd115ba9b2e55c85a32.tar.gz external_llvm-34f849098bfb8850fa34fbd115ba9b2e55c85a32.tar.bz2 |
fix a typo (and -> add) and fix GetAvailablePHITranslatedSubExpr to not
side-effect the current object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/PHITransAddr.h')
-rw-r--r-- | include/llvm/Analysis/PHITransAddr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/PHITransAddr.h b/include/llvm/Analysis/PHITransAddr.h index 678d405..1f4f341 100644 --- a/include/llvm/Analysis/PHITransAddr.h +++ b/include/llvm/Analysis/PHITransAddr.h @@ -88,7 +88,7 @@ private: /// PHITranslateSubExpr if it dominates PredBB, otherwise return null. Value *GetAvailablePHITranslatedSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB, - const DominatorTree &DT); + const DominatorTree &DT) const; /// InsertPHITranslatedSubExpr - Insert a computation of the PHI translated /// version of 'V' for the edge PredBB->CurBB into the end of the PredBB |