Remove unused instruction pointer from Metadata

This commit is contained in:
baldurk committed 2021-09-21 18:04:58 +01:00
1 parent e1efc83fe3
commit ed4a28049d
2 files changed
+1 -5

No files matched your search

@@ -498,8 +498,6 @@ struct Metadata
Value value;
const Instruction *const *inst = NULL;
const Type *type = NULL;
rdcstr str;
rdcarray<Metadata *> children;
@@ -1688,9 +1688,7 @@ rdcstr Metadata::valString() const
{
const Instruction *i = NULL;
if(inst && *inst)
i = *inst;
else if(value.type == ValueType::Instruction)
if(value.type == ValueType::Instruction)
i = value.instruction;
if(i)