diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-01-27 15:46:54 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-01-27 15:46:54 +0000 |
commit | 2b6efa9d41128ed8da4056953c0f71ac3ac868ce (patch) | |
tree | 037d0d03a49afe90cddb38168662e918d9e16a5b /llvm/lib/CodeGen/MachineDebugInfo.cpp | |
parent | f98fc8441cbd72561e36a1d52af4b9ee08d9169a (diff) | |
download | bcm5719-llvm-2b6efa9d41128ed8da4056953c0f71ac3ac868ce.tar.gz bcm5719-llvm-2b6efa9d41128ed8da4056953c0f71ac3ac868ce.zip |
Forgot the version number.
llvm-svn: 25685
Diffstat (limited to 'llvm/lib/CodeGen/MachineDebugInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineDebugInfo.cpp b/llvm/lib/CodeGen/MachineDebugInfo.cpp index 9c6c35ecdcd..07faba1dfbf 100644 --- a/llvm/lib/CodeGen/MachineDebugInfo.cpp +++ b/llvm/lib/CodeGen/MachineDebugInfo.cpp @@ -139,7 +139,7 @@ unsigned CompileUnitWrapper::getTag() const { /// 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.) |