mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 21:34:23 +00:00
Deconstify parameter to getPointerToFunction().
Use a FunctionPassManager instead of a PassManager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7820 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71d8478117
commit
c227c1fc7f
@ -19,7 +19,7 @@ class MachineCodeEmitter;
|
||||
|
||||
class VM : public ExecutionEngine {
|
||||
TargetMachine &TM; // The current target we are compiling to
|
||||
PassManager PM; // Passes to compile a function
|
||||
FunctionPassManager PM; // Passes to compile a function
|
||||
MachineCodeEmitter *MCE; // MCE object
|
||||
|
||||
public:
|
||||
@ -49,7 +49,7 @@ public:
|
||||
|
||||
/// getPointerToFunction - This returns the address of the specified function,
|
||||
/// compiling it if necessary.
|
||||
void *getPointerToFunction(const Function *F);
|
||||
void *getPointerToFunction(Function *F);
|
||||
|
||||
private:
|
||||
static MachineCodeEmitter *createEmitter(VM &V);
|
||||
|
@ -19,7 +19,7 @@ class MachineCodeEmitter;
|
||||
|
||||
class VM : public ExecutionEngine {
|
||||
TargetMachine &TM; // The current target we are compiling to
|
||||
PassManager PM; // Passes to compile a function
|
||||
FunctionPassManager PM; // Passes to compile a function
|
||||
MachineCodeEmitter *MCE; // MCE object
|
||||
|
||||
public:
|
||||
@ -49,7 +49,7 @@ public:
|
||||
|
||||
/// getPointerToFunction - This returns the address of the specified function,
|
||||
/// compiling it if necessary.
|
||||
void *getPointerToFunction(const Function *F);
|
||||
void *getPointerToFunction(Function *F);
|
||||
|
||||
private:
|
||||
static MachineCodeEmitter *createEmitter(VM &V);
|
||||
|
Loading…
x
Reference in New Issue
Block a user