diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-07-27 18:21:10 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-07-27 18:21:10 +0000 |
commit | f141cc46faf6f0525f0baa10b6a6c976301874a5 (patch) | |
tree | 606b1c78ed5faa3eb7e66431a6304442826f6b60 /include/llvm/Target/TargetJITInfo.h | |
parent | 16620fcbfd12fcd0530e79e121a7e5ff33cb9618 (diff) | |
download | llvm-f141cc46faf6f0525f0baa10b6a6c976301874a5.tar.gz llvm-f141cc46faf6f0525f0baa10b6a6c976301874a5.tar.bz2 llvm-f141cc46faf6f0525f0baa10b6a6c976301874a5.tar.xz |
Resolve BB references with relocation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetJITInfo.h')
-rw-r--r-- | include/llvm/Target/TargetJITInfo.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/llvm/Target/TargetJITInfo.h b/include/llvm/Target/TargetJITInfo.h index 26c7d38333..b7fd2d4c39 100644 --- a/include/llvm/Target/TargetJITInfo.h +++ b/include/llvm/Target/TargetJITInfo.h @@ -83,26 +83,12 @@ namespace llvm { assert(NumRelocs == 0 && "This target does not have relocations!"); } - /// resolveBBRefs - Resolve branches to BasicBlocks for the JIT emitted - /// function. - virtual void resolveBBRefs(MachineCodeEmitter &MCE) {} - - /// addBBRef - Add a BasicBlock reference to be resolved after the function - /// is emitted. - void addBBRef(MachineBasicBlock *BB, intptr_t PC) { - BBRefs.push_back(std::make_pair(BB, PC)); - } - /// needsGOT - Allows a target to specify that it would like the // JIT to manage a GOT for it. bool needsGOT() const { return useGOT; } protected: bool useGOT; - - // Tracks which instruction references which BasicBlock - std::vector<std::pair<MachineBasicBlock*, intptr_t> > BBRefs; - }; } // End llvm namespace |