From 992e44e3c5b5e465ecee9fdf5b3ba892470ddfad Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 11 Mar 2004 19:08:24 +0000 Subject: [PATCH] Fix compilation on Sparc: assert(0) => abort() llvm-svn: 12289 --- lib/Target/X86/Printer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Target/X86/Printer.cpp b/lib/Target/X86/Printer.cpp index 7a3e9b1a70e..c6b581a5b41 100644 --- a/lib/Target/X86/Printer.cpp +++ b/lib/Target/X86/Printer.cpp @@ -59,11 +59,11 @@ namespace { // 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;