Changes in directory llvm/lib/Target/X86:
X86CodeEmitter.cpp updated: 1.89 -> 1.90 --- Log message: Jit does not support PIC yet. --- Diffs of the changes: (+2 -0) X86CodeEmitter.cpp | 2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/Target/X86/X86CodeEmitter.cpp diff -u llvm/lib/Target/X86/X86CodeEmitter.cpp:1.89 llvm/lib/Target/X86/X86CodeEmitter.cpp:1.90 --- llvm/lib/Target/X86/X86CodeEmitter.cpp:1.89 Tue Feb 14 15:52:51 2006 +++ llvm/lib/Target/X86/X86CodeEmitter.cpp Fri Feb 17 18:57:10 2006 @@ -22,6 +22,7 @@ #include "llvm/CodeGen/Passes.h" #include "llvm/Function.h" #include "llvm/ADT/Statistic.h" +#include "llvm/Target/TargetOptions.h" #include <iostream> using namespace llvm; @@ -96,6 +97,7 @@ } void Emitter::emitBasicBlock(const MachineBasicBlock &MBB) { + assert(!PICEnabled && "CodeEmitter does not support PIC!"); if (uint64_t Addr = MCE.getCurrentPCValue()) BasicBlockAddrs[&MBB] = Addr; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits