diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/MachineCodeEmitter.h | 1 | ||||
-rw-r--r-- | include/llvm/Target/TargetJITInfo.h | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineCodeEmitter.h b/include/llvm/CodeGen/MachineCodeEmitter.h index ede40d1..2c207f2 100644 --- a/include/llvm/CodeGen/MachineCodeEmitter.h +++ b/include/llvm/CodeGen/MachineCodeEmitter.h @@ -58,6 +58,7 @@ protected: /// all code emission requests will be ignored (this is the buffer overflow /// condition). unsigned char *CurBufferPtr; + public: virtual ~MachineCodeEmitter() {} diff --git a/include/llvm/Target/TargetJITInfo.h b/include/llvm/Target/TargetJITInfo.h index 3be6cb7..1ad927b 100644 --- a/include/llvm/Target/TargetJITInfo.h +++ b/include/llvm/Target/TargetJITInfo.h @@ -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 |