mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
tidy up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109038 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1e20b96313
commit
e62b690607
@ -60,7 +60,8 @@ DIDescriptor DIDescriptor::getDescriptorField(unsigned Elt) const {
|
|||||||
return DIDescriptor();
|
return DIDescriptor();
|
||||||
|
|
||||||
if (Elt < DbgNode->getNumOperands())
|
if (Elt < DbgNode->getNumOperands())
|
||||||
return DIDescriptor(dyn_cast_or_null<const MDNode>(DbgNode->getOperand(Elt)));
|
return
|
||||||
|
DIDescriptor(dyn_cast_or_null<const MDNode>(DbgNode->getOperand(Elt)));
|
||||||
return DIDescriptor();
|
return DIDescriptor();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -389,7 +390,7 @@ uint64_t DIDerivedType::getOriginalTypeSize() const {
|
|||||||
return getSizeInBits();
|
return getSizeInBits();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// isInlinedFnArgument - Return trule if this variable provides debugging
|
/// isInlinedFnArgument - Return true if this variable provides debugging
|
||||||
/// information for an inlined function arguments.
|
/// information for an inlined function arguments.
|
||||||
bool DIVariable::isInlinedFnArgument(const Function *CurFn) {
|
bool DIVariable::isInlinedFnArgument(const Function *CurFn) {
|
||||||
assert(CurFn && "Invalid function");
|
assert(CurFn && "Invalid function");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user