s/DebugLoc.CompileUnit/DebugLoc.Scope/g
[oota-llvm.git] / lib / Target / PIC16 / PIC16DebugInfo.cpp
index c32b659a3f753ad42ba3368bf660575aef3ff012..961caedbf9aba09bcb9358ea78e3f96a9d489239 100644 (file)
@@ -258,7 +258,7 @@ void PIC16DbgInfo::ChangeDebugLoc(const MachineFunction &MF,
   if (! EmitDebugDirectives) return;
   assert (! DL.isUnknown()  && "can't change to invalid debug loc");
 
-  MDNode *CU = MF.getDebugLocTuple(DL).CompileUnit;
+  MDNode *CU = MF.getDebugLocTuple(DL).Scope;
   unsigned line = MF.getDebugLocTuple(DL).Line;
 
   SwitchToCU(CU);