mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-01 00:17:01 +00:00 
			
		
		
		
	DebugInfo: Update signature of DICompileUnit::replace*()
Change `DICompileUnit::replaceSubprograms()` and `DICompileUnit::replaceGlobalVariables()` to match the `MDCompileUnit` equivalents that they're wrapping. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -33,20 +33,8 @@ | ||||
| using namespace llvm; | ||||
| using namespace llvm::dwarf; | ||||
|  | ||||
| //===----------------------------------------------------------------------===// | ||||
| // Simple Descriptor Constructors and other Methods | ||||
| //===----------------------------------------------------------------------===// | ||||
|  | ||||
| DIScopeRef DIScope::getRef() const { return MDScopeRef::get(get()); } | ||||
|  | ||||
| void DICompileUnit::replaceSubprograms(DIArray Subprograms) { | ||||
|   get()->replaceSubprograms(MDSubprogramArray(Subprograms)); | ||||
| } | ||||
|  | ||||
| void DICompileUnit::replaceGlobalVariables(DIArray GlobalVariables) { | ||||
|   get()->replaceGlobalVariables(MDGlobalVariableArray(GlobalVariables)); | ||||
| } | ||||
|  | ||||
| DIVariable llvm::createInlinedVariable(MDNode *DV, MDNode *InlinedScope, | ||||
|                                        LLVMContext &VMContext) { | ||||
|   return cast<MDLocalVariable>(DV) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user