mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 06:24:57 +00:00
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
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user