[llvm-commits] [dragonegg] r86250 - /dragonegg/trunk/llvm-backend.cpp
Duncan Sands
baldrick at free.fr
Fri Nov 6 02:30:47 PST 2009
Author: baldrick
Date: Fri Nov 6 04:30:46 2009
New Revision: 86250
URL: http://llvm.org/viewvc/llvm-project?rev=86250&view=rev
Log:
Compile fix due to LLVM API change.
Modified:
dragonegg/trunk/llvm-backend.cpp
Modified: dragonegg/trunk/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-backend.cpp?rev=86250&r1=86249&r2=86250&view=diff
==============================================================================
--- dragonegg/trunk/llvm-backend.cpp (original)
+++ dragonegg/trunk/llvm-backend.cpp Fri Nov 6 04:30:46 2009
@@ -453,7 +453,7 @@
TheTarget = TME->createTargetMachine(TargetTriple, FeatureStr);
assert(TheTarget->getTargetData()->isBigEndian() == BYTES_BIG_ENDIAN);
- TheFolder = new TargetFolder(TheTarget->getTargetData(), getGlobalContext());
+ TheFolder = new TargetFolder(TheTarget->getTargetData());
// Install information about target datalayout stuff into the module for
// optimizer use.
More information about the llvm-commits
mailing list