[llvm-commits] CVS: llvm/lib/Target/X86/Printer.cpp

Misha Brukman brukman at cs.uiuc.edu
Thu Mar 11 13:09:01 PST 2004


Changes in directory llvm/lib/Target/X86:

Printer.cpp updated: 1.93 -> 1.94

---
Log message:

Fix compilation on Sparc: assert(0) => abort()


---
Diffs of the changes:  (+5 -5)

Index: llvm/lib/Target/X86/Printer.cpp
diff -u llvm/lib/Target/X86/Printer.cpp:1.93 llvm/lib/Target/X86/Printer.cpp:1.94
--- llvm/lib/Target/X86/Printer.cpp:1.93	Tue Mar  9 00:10:15 2004
+++ llvm/lib/Target/X86/Printer.cpp	Thu Mar 11 13:08:24 2004
@@ -59,11 +59,11 @@
 
       // These should never be called
       virtual void emitWord(unsigned W) { assert(0); }
-      virtual uint64_t getGlobalValueAddress(GlobalValue *V) { assert(0); }
-      virtual uint64_t getGlobalValueAddress(const std::string &Name) { assert(0); }
-      virtual uint64_t getConstantPoolEntryAddress(unsigned Index) { assert(0); }
-      virtual uint64_t getCurrentPCValue() { assert(0); }
-      virtual uint64_t forceCompilationOf(Function *F) { assert(0); }
+      virtual uint64_t getGlobalValueAddress(GlobalValue *V) { abort(); }
+      virtual uint64_t getGlobalValueAddress(const std::string &Name) { abort(); }
+      virtual uint64_t getConstantPoolEntryAddress(unsigned Index) { abort(); }
+      virtual uint64_t getCurrentPCValue() { abort(); }
+      virtual uint64_t forceCompilationOf(Function *F) { abort(); }
 
   private:
       std::ostream& O;





More information about the llvm-commits mailing list