summaryrefslogtreecommitdiff
path: root/flowgraphnode.cpp
diff options
context:
space:
mode:
authorGlenn Smith <couleeapps@gmail.com>2019-05-28 13:47:14 -0400
committerGlenn Smith <glenn@vector35.com>2019-08-01 18:36:03 -0400
commit087fdd83b85dd894d5b895557a378bb01828d0ff (patch)
tree8f9846be65885fa97cf934aa2e7dbd22cf150765 /flowgraphnode.cpp
parent9bb1a15b800da0ac5b60c40e3b10321e4efc5a1b (diff)
Tags
Diffstat (limited to 'flowgraphnode.cpp')
-rw-r--r--flowgraphnode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/flowgraphnode.cpp b/flowgraphnode.cpp
index 4a1729ff..2457ebb9 100644
--- a/flowgraphnode.cpp
+++ b/flowgraphnode.cpp
@@ -107,6 +107,7 @@ const vector<DisassemblyTextLine>& FlowGraphNode::GetLines()
line.instrIndex = lines[i].instrIndex;
line.highlight = lines[i].highlight;
line.tokens = InstructionTextToken::ConvertInstructionTextTokenList(lines[i].tokens, lines[i].count);
+ line.tags = Tag::ConvertTagList(lines[i].tags, lines[i].tagCount);
result.push_back(line);
}
@@ -126,6 +127,7 @@ void FlowGraphNode::SetLines(const vector<DisassemblyTextLine>& lines)
buf[i].highlight = lines[i].highlight;
buf[i].tokens = InstructionTextToken::CreateInstructionTextTokenList(lines[i].tokens);
buf[i].count = lines[i].tokens.size();
+ buf[i].tags = Tag::CreateTagList(lines[i].tags, &(buf[i].tagCount));
}
BNSetFlowGraphNodeLines(m_object, buf, lines.size());