diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-03-11 19:08:24 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-03-11 19:08:24 +0000 |
commit | db760d00c3db53e600a0fd4050f0be29bfc79b2c (patch) | |
tree | 1ea53ad468a6bbd1c8e1e7e1056037bed51b6b39 | |
parent | 094158a133219bec99a66dd209186f0e36c46557 (diff) |
Fix compilation on Sparc: assert(0) => abort()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12289 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/Printer.cpp | 10 | ||||
-rw-r--r-- | lib/Target/X86/X86AsmPrinter.cpp | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/lib/Target/X86/Printer.cpp b/lib/Target/X86/Printer.cpp index 7a3e9b1a70..c6b581a5b4 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; diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index 7a3e9b1a70..c6b581a5b4 100644 --- a/lib/Target/X86/X86AsmPrinter.cpp +++ b/lib/Target/X86/X86AsmPrinter.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; |