Fix the asmprinter so that a globalvalue can specify an explicit alignment
[oota-llvm.git] / lib / Target / TargetData.cpp
index d1842fe7de21aa7c5e572214b7c3dbc234dc5e9c..301e8c12ab452d46b83a1d4509b923144d71466c 100644 (file)
@@ -33,9 +33,9 @@ using namespace llvm;
 // Handle the Pass registration stuff necessary to use TargetData's.
 namespace {
   // Register the default SparcV9 implementation...
-  const int TargetData::ID = 0;
   RegisterPass<TargetData> X("targetdata", "Target Data Layout");
 }
+char TargetData::ID = 0;
 
 //===----------------------------------------------------------------------===//
 // Support for StructLayout