mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-14 00:14:19 +00:00
Added new method to add a "simple" code emitter. That is, to only add
the code emitter and not set variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34033 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
04523eab6b
commit
50e4e88d97
lib/Target/Alpha
@ -88,3 +88,8 @@ bool AlphaTargetMachine::addCodeEmitter(FunctionPassManager &PM, bool Fast,
|
||||
PM.add(createAlphaCodeEmitterPass(*this, MCE));
|
||||
return false;
|
||||
}
|
||||
bool AlphaTargetMachine::addSimpleCodeEmitter(FunctionPassManager &PM,
|
||||
bool Fast,
|
||||
MachineCodeEmitter &MCE) {
|
||||
return addCodeEmitter(PM, Fast, MCE);
|
||||
}
|
||||
|
@ -64,6 +64,8 @@ public:
|
||||
std::ostream &Out);
|
||||
virtual bool addCodeEmitter(FunctionPassManager &PM, bool Fast,
|
||||
MachineCodeEmitter &MCE);
|
||||
virtual bool addSimpleCodeEmitter(FunctionPassManager &PM, bool Fast,
|
||||
MachineCodeEmitter &MCE);
|
||||
};
|
||||
|
||||
} // end namespace llvm
|
||||
|
Loading…
x
Reference in New Issue
Block a user