mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 07:24:47 +00:00
X86 JIT PIC jumptable support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45616 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -58,6 +58,7 @@ protected:
|
||||
/// all code emission requests will be ignored (this is the buffer overflow
|
||||
/// condition).
|
||||
unsigned char *CurBufferPtr;
|
||||
|
||||
public:
|
||||
virtual ~MachineCodeEmitter() {}
|
||||
|
||||
|
@@ -55,6 +55,13 @@ namespace llvm {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// getPICJumpTableEntry - Returns the value of the jumptable entry for the
|
||||
/// specific basic block.
|
||||
virtual intptr_t getPICJumpTableEntry(intptr_t BB, intptr_t JTBase) {
|
||||
assert(0 && "This target doesn't implement getPICJumpTableEntry!");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// LazyResolverFn - This typedef is used to represent the function that
|
||||
/// unresolved call points should invoke. This is a target specific
|
||||
/// function that knows how to walk the stack and find out which stub the
|
||||
|
Reference in New Issue
Block a user