aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/PHITransAddr.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-08 06:06:26 +0000
committerChris Lattner <sabre@nondot.org>2009-12-08 06:06:26 +0000
commit34f849098bfb8850fa34fbd115ba9b2e55c85a32 (patch)
treeace26845823396a663569c8dd4a3b45cef0b5711 /include/llvm/Analysis/PHITransAddr.h
parent87f8e4902757e8dfdecb0056f530755d61a35adb (diff)
downloadexternal_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.h2
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