summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-24 04:50:48 +0000
committerChris Lattner <sabre@nondot.org>2006-01-24 04:50:48 +0000
commit68e62a5184e739b8d467c8dbf042dfdcdd573a01 (patch)
tree2fec73320b26c72d6478d338c25b7de1fcaac465 /llvm/lib
parent12f8441c03218f9f1f1b4ec3aa9a593e7620624d (diff)
downloadbcm5719-llvm-68e62a5184e739b8d467c8dbf042dfdcdd573a01.tar.gz
bcm5719-llvm-68e62a5184e739b8d467c8dbf042dfdcdd573a01.zip
Allow jit-beta to work
llvm-svn: 25578
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86CodeEmitter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86CodeEmitter.cpp b/llvm/lib/Target/X86/X86CodeEmitter.cpp
index 74e30a6d9e6..135ef7844e1 100644
--- a/llvm/lib/Target/X86/X86CodeEmitter.cpp
+++ b/llvm/lib/Target/X86/X86CodeEmitter.cpp
@@ -399,7 +399,6 @@ void Emitter::emitInstruction(const MachineInstr &MI) {
if (MO.isMachineBasicBlock()) {
emitPCRelativeBlockAddress(MO.getMachineBasicBlock());
} else if (MO.isGlobalAddress()) {
- assert(MO.isPCRelative() && "Call target is not PC Relative?");
bool isTailCall = Opcode == X86::TAILJMPd ||
Opcode == X86::TAILJMPr || Opcode == X86::TAILJMPm;
emitGlobalAddressForCall(MO.getGlobal(), isTailCall);
OpenPOWER on IntegriCloud