Changes in directory llvm/lib/CodeGen:

MachineDebugInfo.cpp updated: 1.7 -> 1.8
---
Log message:

Forgot the version number.


---
Diffs of the changes:  (+1 -1)

 MachineDebugInfo.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/MachineDebugInfo.cpp
diff -u llvm/lib/CodeGen/MachineDebugInfo.cpp:1.7 
llvm/lib/CodeGen/MachineDebugInfo.cpp:1.8
--- llvm/lib/CodeGen/MachineDebugInfo.cpp:1.7   Fri Jan 27 09:20:54 2006
+++ llvm/lib/CodeGen/MachineDebugInfo.cpp       Fri Jan 27 09:46:54 2006
@@ -139,7 +139,7 @@
 /// Currently the value is 0 (zero.)  If the value is is not correct then
 /// ignore all debug information.
 bool CompileUnitWrapper::isCorrectDebugVersion() const {
-  return cast<ConstantUInt>(IC->getOperand(Version_op))->getValue();
+  return cast<ConstantUInt>(IC->getOperand(Version_op))->getValue() == 0;
 }
 
 /// getLanguage - Return the compile unit's language number (ex. DW_LANG_C89.)



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to