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