mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 15:39:00 +00:00
Since everyone else has "fixed" this file, might as well join in the fun.
* Change assert() to std::cerr printout, as it will not appear in opt builds * Add comments to clarify what #ifdef/#else/#endif match what condition(s) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22154 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
edd47f21c5
commit
57ebf3d6a8
@ -69,12 +69,11 @@ extern "C" {
|
||||
ret
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif // _MSC_VER
|
||||
|
||||
#else
|
||||
// Not an i386 host
|
||||
#else // Not an i386 host
|
||||
void X86CompilationCallback() {
|
||||
assert(0 && "This is not a X86, you can't execute this!");
|
||||
std::cerr << "Cannot call X86CompilationCallback() on a non-x86 arch!\n";
|
||||
abort();
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user