diff options
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/function.cpp b/function.cpp index 58968938..36d5a313 100644 --- a/function.cpp +++ b/function.cpp @@ -1647,7 +1647,7 @@ void Function::RemoveUserFunctionTag(Ref<Tag> tag) Ref<Tag> Function::CreateAutoAddressTag(Architecture* arch, uint64_t addr, const std::string& tagTypeName, const std::string& data, bool unique) { - Ref<TagType> tagType = GetView()->GetTagType(tagTypeName); + Ref<TagType> tagType = GetView()->GetTagTypeByName(tagTypeName); if (!tagType) return nullptr; @@ -1677,7 +1677,7 @@ Ref<Tag> Function::CreateAutoAddressTag(Architecture* arch, uint64_t addr, Ref<T Ref<Tag> Function::CreateUserAddressTag(Architecture* arch, uint64_t addr, const std::string& tagTypeName, const std::string& data, bool unique) { - Ref<TagType> tagType = GetView()->GetTagType(tagTypeName); + Ref<TagType> tagType = GetView()->GetTagTypeByName(tagTypeName); if (!tagType) return nullptr; @@ -1706,7 +1706,7 @@ Ref<Tag> Function::CreateUserAddressTag(Architecture* arch, uint64_t addr, Ref<T Ref<Tag> Function::CreateAutoFunctionTag(const std::string& tagTypeName, const std::string& data, bool unique) { - Ref<TagType> tagType = GetView()->GetTagType(tagTypeName); + Ref<TagType> tagType = GetView()->GetTagTypeByName(tagTypeName); if (!tagType) return nullptr; @@ -1736,7 +1736,7 @@ Ref<Tag> Function::CreateAutoFunctionTag(Ref<TagType> tagType, const std::string Ref<Tag> Function::CreateUserFunctionTag(const std::string& tagTypeName, const std::string& data, bool unique) { - Ref<TagType> tagType = GetView()->GetTagType(tagTypeName); + Ref<TagType> tagType = GetView()->GetTagTypeByName(tagTypeName); if (!tagType) return nullptr; |
