eliminate use of TM.getName()
llvm-svn: 30068
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.cpp b/llvm/lib/ExecutionEngine/JIT/JIT.cpp
index 649edbe..fe53095 100644
--- a/llvm/lib/ExecutionEngine/JIT/JIT.cpp
+++ b/llvm/lib/ExecutionEngine/JIT/JIT.cpp
@@ -67,8 +67,7 @@
// Turn the machine code intermediate representation into bytes in memory that
// may be executed.
if (TM.addPassesToEmitMachineCode(PM, *MCE)) {
- std::cerr << "Target '" << TM.getName()
- << "' doesn't support machine code emission!\n";
+ std::cerr << "Target does not support machine code emission!\n";
abort();
}
}