Allow jit-beta to work
authorChris Lattner <sabre@nondot.org>
Tue, 24 Jan 2006 04:50:48 +0000 (04:50 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 24 Jan 2006 04:50:48 +0000 (04:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25578 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86CodeEmitter.cpp

index 74e30a6d9e6d6accbb25de20516a51489b272777..135ef7844e134d891cbe734c0e7884f845c3d721 100644 (file)
@@ -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);