mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	Add getMDNode() to access metadata node.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -300,6 +300,10 @@ public: | ||||
|     return Contents.OffsetedInfo.Val.GV; | ||||
|   } | ||||
|    | ||||
|   MDNode *getMDNode() const { | ||||
|     return Contents.OffsetedInfo.Val.Node; | ||||
|   } | ||||
|    | ||||
|   int64_t getOffset() const { | ||||
|     assert((isGlobal() || isSymbol() || isCPI()) && | ||||
|            "Wrong MachineOperand accessor"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user