mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
[PM] Rename the 'Mod' member to the more idiomatic 'M'. No functionality
changed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195701 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -74,7 +74,7 @@ class CallGraphNode;
|
||||
///
|
||||
/// The core call graph itself can also be updated to reflect changes to the IR.
|
||||
class CallGraph : public ModulePass {
|
||||
Module *Mod; // The module this call graph represents
|
||||
Module *M;
|
||||
|
||||
typedef std::map<const Function *, CallGraphNode *> FunctionMapTy;
|
||||
FunctionMapTy FunctionMap; // Map from a function to its node
|
||||
@@ -109,7 +109,7 @@ public:
|
||||
typedef FunctionMapTy::const_iterator const_iterator;
|
||||
|
||||
/// \brief Returns the module the call graph corresponds to.
|
||||
Module &getModule() const { return *Mod; }
|
||||
Module &getModule() const { return *M; }
|
||||
|
||||
inline iterator begin() { return FunctionMap.begin(); }
|
||||
inline iterator end() { return FunctionMap.end(); }
|
||||
|
Reference in New Issue
Block a user