diff options
author | Chris Lattner <sabre@nondot.org> | 2002-06-25 16:13:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-06-25 16:13:21 +0000 |
commit | 0b12b5f50ec77a8bd01b92d287c52d748619bb4b (patch) | |
tree | 5764db59facb124b023f1de96f0e45d37657c82e /lib/Transforms/IPO/SimpleStructMutation.cpp | |
parent | 18961504fc2b299578dba817900a0696cf3ccc4d (diff) |
MEGAPATCH checkin.
For details, See: docs/2002-06-25-MegaPatchInfo.txt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/SimpleStructMutation.cpp')
-rw-r--r-- | lib/Transforms/IPO/SimpleStructMutation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/IPO/SimpleStructMutation.cpp b/lib/Transforms/IPO/SimpleStructMutation.cpp index 908b5b1030..7f18f31e9b 100644 --- a/lib/Transforms/IPO/SimpleStructMutation.cpp +++ b/lib/Transforms/IPO/SimpleStructMutation.cpp @@ -32,7 +32,7 @@ namespace { const char *getPassName() const { return "Simple Struct Mutation"; } - virtual bool run(Module *M) { + virtual bool run(Module &M) { setTransforms(getTransforms(M, CurrentXForm)); bool Changed = MutateStructTypes::run(M); clearTransforms(); @@ -49,7 +49,7 @@ namespace { } private: - TransformsType getTransforms(Module *M, enum Transform); + TransformsType getTransforms(Module &M, enum Transform); }; } // end anonymous namespace @@ -124,7 +124,7 @@ static inline void GetTransformation(const StructType *ST, SimpleStructMutation::TransformsType - SimpleStructMutation::getTransforms(Module *M, enum Transform XForm) { + SimpleStructMutation::getTransforms(Module &, enum Transform XForm) { // We need to know which types to modify, and which types we CAN'T modify // TODO: Do symbol tables as well |