[llvm-commits] [llvm-gcc-4.0] r43107 - /llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp
Evan Cheng
evan.cheng at apple.com
Wed Oct 17 17:35:06 PDT 2007
Author: evancheng
Date: Wed Oct 17 19:35:06 2007
New Revision: 43107
URL: http://llvm.org/viewvc/llvm-project?rev=43107&view=rev
Log:
Reflects TargetMachineRegistry changes.
Modified:
llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp?rev=43107&r1=43106&r2=43107&view=diff
==============================================================================
--- llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp Wed Oct 17 19:35:06 2007
@@ -162,7 +162,7 @@
// Create the TargetMachine we will be generating code with.
// FIXME: Figure out how to select the target and pass down subtarget info.
std::string Err;
- const TargetMachineRegistry::Entry *TME =
+ const TargetMachineRegistry::entry *TME =
TargetMachineRegistry::getClosestStaticTargetForModule(*TheModule, Err);
if (!TME) {
cerr << "Did not get a target machine!\n";
More information about the llvm-commits
mailing list