mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
[objc-arc] Fixed number of prefixing slashes in some comments in a function from 3 to 2 to match the rest of ObjCARCOpts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182557 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a519666423
commit
e5b97900b2
@ -2888,15 +2888,15 @@ void ObjCARCOpt::OptimizeWeakCalls(Function &F) {
|
|||||||
/// Identify program paths which execute sequences of retains and releases which
|
/// Identify program paths which execute sequences of retains and releases which
|
||||||
/// can be eliminated.
|
/// can be eliminated.
|
||||||
bool ObjCARCOpt::OptimizeSequences(Function &F) {
|
bool ObjCARCOpt::OptimizeSequences(Function &F) {
|
||||||
/// Releases, Retains - These are used to store the results of the main flow
|
// Releases, Retains - These are used to store the results of the main flow
|
||||||
/// analysis. These use Value* as the key instead of Instruction* so that the
|
// analysis. These use Value* as the key instead of Instruction* so that the
|
||||||
/// map stays valid when we get around to rewriting code and calls get
|
// map stays valid when we get around to rewriting code and calls get
|
||||||
/// replaced by arguments.
|
// replaced by arguments.
|
||||||
DenseMap<Value *, RRInfo> Releases;
|
DenseMap<Value *, RRInfo> Releases;
|
||||||
MapVector<Value *, RRInfo> Retains;
|
MapVector<Value *, RRInfo> Retains;
|
||||||
|
|
||||||
/// This is used during the traversal of the function to track the
|
// This is used during the traversal of the function to track the
|
||||||
/// states for each identified object at each block.
|
// states for each identified object at each block.
|
||||||
DenseMap<const BasicBlock *, BBState> BBStates;
|
DenseMap<const BasicBlock *, BBState> BBStates;
|
||||||
|
|
||||||
// Analyze the CFG of the function, and all instructions.
|
// Analyze the CFG of the function, and all instructions.
|
||||||
|
Loading…
Reference in New Issue
Block a user