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:
Misha Brukman 2005-05-20 19:46:50 +00:00
parent edd47f21c5
commit 57ebf3d6a8

View File

@ -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