[llvm-commits] [llvm-gcc-4.2] r72645 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Bill Wendling
isanbard at gmail.com
Sat May 30 15:47:29 PDT 2009
Author: void
Date: Sat May 30 17:47:28 2009
New Revision: 72645
URL: http://llvm.org/viewvc/llvm-project?rev=72645&view=rev
Log:
Cast to get the correct overloaded function.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=72645&r1=72644&r2=72645&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Sat May 30 17:47:28 2009
@@ -608,7 +608,8 @@
break;
}
- if (TheTarget->addPassesToEmitFileFinish(*PM, 0, OptLevel)) {
+ if (TheTarget->addPassesToEmitFileFinish(*PM, (MachineCodeEmitter *)0,
+ OptLevel)) {
cerr << "Error interfacing to target machine!\n";
exit(1);
}
More information about the llvm-commits
mailing list