From: Michael Gottesman Date: Tue, 12 Feb 2013 23:35:08 +0000 (+0000) Subject: Changed isStoredObjCPointer => IsStoredObjCPointer. No functionality change. X-Git-Tag: android-x86-6.0-r1~167^2~488 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=49b5bb4cb4ec8c93f51cdaad925c9073788b94c8;p=android-x86%2Fexternal-llvm.git Changed isStoredObjCPointer => IsStoredObjCPointer. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175017 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp b/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp index ff38c9df802..ae3c6282cf8 100644 --- a/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp +++ b/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp @@ -72,7 +72,7 @@ bool ProvenanceAnalysis::relatedPHI(const PHINode *A, /// 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 Visited; SmallVector Worklist; Worklist.push_back(P); @@ -132,18 +132,18 @@ bool ProvenanceAnalysis::relatedCheck(const Value *A, if (AIsIdentified) { // Check for an obvious escape. if (isa(B)) - return isStoredObjCPointer(A); + return IsStoredObjCPointer(A); if (BIsIdentified) { // Check for an obvious escape. if (isa(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(A)) - return isStoredObjCPointer(B); + return IsStoredObjCPointer(B); } // Special handling for PHI and Select.