A few more isAsCheapAsAMove.
[oota-llvm.git] / lib / Target / Sparc / SparcTargetMachine.cpp
index 80af77e6808fd0a9e286f56157c215cbcdda23e6..21c4205b37d96a054f7511e2a362a5999959c1b5 100644 (file)
 #include "llvm/Target/TargetMachineRegistry.h"
 using namespace llvm;
 
+/// SparcTargetMachineModule - Note that this is used on hosts that
+/// cannot link in a library unless there are references into the
+/// library.  In particular, it seems that it is not possible to get
+/// things to work on Win32 without this.  Though it is unused, do not
+/// remove it.
+extern "C" int SparcTargetMachineModule;
+int SparcTargetMachineModule = 0;
+
 // Register the target.
 static RegisterTarget<SparcTargetMachine> X("sparc", "SPARC");