Move TargetData to DataLayout.
[oota-llvm.git] / lib / Target / MSP430 / MSP430ISelLowering.cpp
index bda688c31d7cef11e71796892f80693c32e65ff7..fc677aec38ef99088468057b1cd3948ae06202d4 100644 (file)
@@ -61,7 +61,7 @@ MSP430TargetLowering::MSP430TargetLowering(MSP430TargetMachine &tm) :
   TargetLowering(tm, new TargetLoweringObjectFileELF()),
   Subtarget(*tm.getSubtargetImpl()) {
 
-  TD = getTargetData();
+  TD = getDataLayout();
 
   // Set up the register classes.
   addRegisterClass(MVT::i8,  &MSP430::GR8RegClass);