[llvm-commits] [llvm] r96029 - /llvm/trunk/lib/Target/X86/X86MCCodeEmitter.cpp

Chris Lattner sabre at nondot.org
Fri Feb 12 14:39:07 PST 2010


Author: lattner
Date: Fri Feb 12 16:39:06 2010
New Revision: 96029

URL: http://llvm.org/viewvc/llvm-project?rev=96029&view=rev
Log:
fixme resolved!

Modified:
    llvm/trunk/lib/Target/X86/X86MCCodeEmitter.cpp

Modified: llvm/trunk/lib/Target/X86/X86MCCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86MCCodeEmitter.cpp?rev=96029&r1=96028&r2=96029&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86MCCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86MCCodeEmitter.cpp Fri Feb 12 16:39:06 2010
@@ -139,7 +139,6 @@
   unsigned Size = X86II::getSizeOfImm(TSFlags);
   bool isPCRel = X86II::isImmPCRel(TSFlags);
   
-  // FIXME: Pass in the relocation type, this is just a hack..
   switch (Size) {
   default: assert(0 && "Unknown immediate size");
   case 1: return isPCRel ? MCFixupKind(X86::reloc_pcrel_1byte) : FK_Data_1;





More information about the llvm-commits mailing list