mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +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:
@@ -60,7 +60,8 @@ DIDescriptor DIDescriptor::getDescriptorField(unsigned Elt) const {
|
||||
return DIDescriptor();
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
@@ -389,7 +390,7 @@ uint64_t DIDerivedType::getOriginalTypeSize() const {
|
||||
return getSizeInBits();
|
||||
}
|
||||
|
||||
/// isInlinedFnArgument - Return trule if this variable provides debugging
|
||||
/// isInlinedFnArgument - Return true if this variable provides debugging
|
||||
/// information for an inlined function arguments.
|
||||
bool DIVariable::isInlinedFnArgument(const Function *CurFn) {
|
||||
assert(CurFn && "Invalid function");
|
||||
@@ -414,7 +415,7 @@ bool DISubprogram::describes(const Function *F) {
|
||||
return false;
|
||||
}
|
||||
|
||||
unsigned DISubprogram::isOptimized() const {
|
||||
unsigned DISubprogram::isOptimized() const {
|
||||
assert (DbgNode && "Invalid subprogram descriptor!");
|
||||
if (DbgNode->getNumOperands() == 16)
|
||||
return getUnsignedField(15);
|
||||
@@ -979,7 +980,7 @@ DISubprogram DIFactory::CreateSubprogram(DIDescriptor Context,
|
||||
|
||||
/// CreateSubprogramDefinition - Create new subprogram descriptor for the
|
||||
/// given declaration.
|
||||
DISubprogram DIFactory::CreateSubprogramDefinition(DISubprogram &SPDeclaration) {
|
||||
DISubprogram DIFactory::CreateSubprogramDefinition(DISubprogram &SPDeclaration){
|
||||
if (SPDeclaration.isDefinition())
|
||||
return DISubprogram(SPDeclaration);
|
||||
|
||||
|
Reference in New Issue
Block a user