[llvm] r175017 - Changed isStoredObjCPointer => IsStoredObjCPointer. No functionality change.

Michael Gottesman mgottesman at apple.com
Tue Feb 12 15:35:08 PST 2013


Author: mgottesman
Date: Tue Feb 12 17:35:08 2013
New Revision: 175017

URL: http://llvm.org/viewvc/llvm-project?rev=175017&view=rev
Log:
Changed isStoredObjCPointer => IsStoredObjCPointer. No functionality change.

Modified:
    llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp

Modified: llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp?rev=175017&r1=175016&r2=175017&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp (original)
+++ llvm/trunk/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp Tue Feb 12 17:35:08 2013
@@ -72,7 +72,7 @@ bool ProvenanceAnalysis::relatedPHI(cons
 
 /// Test if the value of P, or any value covered by its provenance, is ever
 /// stored within the function (not counting callees).
-static bool isStoredObjCPointer(const Value *P) {
+static bool IsStoredObjCPointer(const Value *P) {
   SmallPtrSet<const Value *, 8> Visited;
   SmallVector<const Value *, 8> Worklist;
   Worklist.push_back(P);
@@ -132,18 +132,18 @@ bool ProvenanceAnalysis::relatedCheck(co
   if (AIsIdentified) {
     // Check for an obvious escape.
     if (isa<LoadInst>(B))
-      return isStoredObjCPointer(A);
+      return IsStoredObjCPointer(A);
     if (BIsIdentified) {
       // Check for an obvious escape.
       if (isa<LoadInst>(A))
-        return isStoredObjCPointer(B);
+        return IsStoredObjCPointer(B);
       // Both pointers are identified and escapes aren't an evident problem.
       return false;
     }
   } else if (BIsIdentified) {
     // Check for an obvious escape.
     if (isa<LoadInst>(A))
-      return isStoredObjCPointer(B);
+      return IsStoredObjCPointer(B);
   }
 
    // Special handling for PHI and Select.





More information about the llvm-commits mailing list