mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Fix compilation on Sparc: assert(0) => abort()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12289 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
094158a133
commit
db760d00c3
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user