mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-03 15:26:18 +00:00
IR: Add MDLocation::getTemporary()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226502 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -945,6 +945,11 @@ public:
|
||||
Metadata *InlinedAt = nullptr) {
|
||||
return getImpl(Context, Line, Column, Scope, InlinedAt, Distinct);
|
||||
}
|
||||
static MDLocation *getTemporary(LLVMContext &Context, unsigned Line,
|
||||
unsigned Column, Metadata *Scope,
|
||||
Metadata *InlinedAt = nullptr) {
|
||||
return getImpl(Context, Line, Column, Scope, InlinedAt, Temporary);
|
||||
}
|
||||
|
||||
unsigned getLine() const { return MDNodeSubclassData; }
|
||||
unsigned getColumn() const { return SubclassData16; }
|
||||
|
Reference in New Issue
Block a user