mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Forgot the version number.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25685 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d8f77bae03
commit
1a05851a27
@ -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.)
|
||||
|
Loading…
x
Reference in New Issue
Block a user