summaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetJITInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-07-27 18:21:10 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-07-27 18:21:10 +0000
commitf141cc46faf6f0525f0baa10b6a6c976301874a5 (patch)
tree606b1c78ed5faa3eb7e66431a6304442826f6b60 /include/llvm/Target/TargetJITInfo.h
parent16620fcbfd12fcd0530e79e121a7e5ff33cb9618 (diff)
downloadllvm-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.h14
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