mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-18 10:24:45 +00:00
tidy up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3814,14 +3814,8 @@ SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
|
|||||||
|
|
||||||
MDNode *Variable = DI.getVariable();
|
MDNode *Variable = DI.getVariable();
|
||||||
// Parameters are handled specially.
|
// Parameters are handled specially.
|
||||||
bool isParameter = false;
|
bool isParameter =
|
||||||
ConstantInt *CI = dyn_cast_or_null<ConstantInt>(Variable->getOperand(0));
|
DIVariable(Variable).getTag() == dwarf::DW_TAG_arg_variable;
|
||||||
if (CI) {
|
|
||||||
unsigned Val = CI->getZExtValue();
|
|
||||||
unsigned Tag = Val & ~LLVMDebugVersionMask;
|
|
||||||
if (Tag == dwarf::DW_TAG_arg_variable)
|
|
||||||
isParameter = true;
|
|
||||||
}
|
|
||||||
const Value *Address = DI.getAddress();
|
const Value *Address = DI.getAddress();
|
||||||
if (!Address)
|
if (!Address)
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user