-//===- PPCJITInfo.h - PowerPC impl. of the JIT interface --------*- C++ -*-===//
+//===-- PPCJITInfo.h - PowerPC impl. of the JIT interface -------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
#ifndef POWERPC_JITINFO_H
#define POWERPC_JITINFO_H
+#include "llvm/CodeGen/JITCodeEmitter.h"
#include "llvm/Target/TargetJITInfo.h"
namespace llvm {
is64Bit = tmIs64Bit;
}
+ virtual StubLayout getStubLayout();
virtual void *emitFunctionStub(const Function* F, void *Fn,
- MachineCodeEmitter &MCE);
+ JITCodeEmitter &JCE);
virtual LazyResolverFn getLazyResolverFunction(JITCompilerFn);
virtual void relocate(void *Function, MachineRelocation *MR,
unsigned NumRelocs, unsigned char* GOTBase);
/// code.
///
virtual void replaceMachineCodeForFunction(void *Old, void *New);
-
- /// InvalidateInstructionCache - Before the JIT can run a block of code
- // that has been emitted it must invalidate the instruction cache on some
- // platforms.
- virtual void InvalidateInstructionCache(const void *Addr, unsigned len);
};
}