From 75d05ea710f80a0ca2fdc53b638952a7a97e7ad8 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Mon, 24 Aug 2020 21:46:36 +0800 Subject: display as in linear view --- linearviewobject.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linearviewobject.cpp') diff --git a/linearviewobject.cpp b/linearviewobject.cpp index 1a563b9e..3c608b5e 100644 --- a/linearviewobject.cpp +++ b/linearviewobject.cpp @@ -145,6 +145,10 @@ vector LinearViewObject::GetLines(LinearViewObject* prev, line.contents.highlight = lines[i].contents.highlight; line.contents.tokens = InstructionTextToken::ConvertInstructionTextTokenList(lines[i].contents.tokens, lines[i].contents.count); line.contents.tags = Tag::ConvertTagList(lines[i].contents.tags, lines[i].contents.tagCount); + line.contents.typeInfo.hasTypeInfo = lines[i].contents.typeInfo.hasTypeInfo; + line.contents.typeInfo.fieldIndex = lines[i].contents.typeInfo.fieldIndex; + line.contents.typeInfo.parentType = lines[i].contents.typeInfo.parentType ? + new Type(BNNewTypeReference(lines[i].contents.typeInfo.parentType)) : nullptr; result.push_back(line); } -- cgit v1.3.1