diff options
Diffstat (limited to 'src/ir')
-rw-r--r-- | src/ir/module-splitting.cpp | 1 | ||||
-rw-r--r-- | src/ir/module-utils.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/ir/module-splitting.cpp b/src/ir/module-splitting.cpp index 8ad501fe1..62c10222a 100644 --- a/src/ir/module-splitting.cpp +++ b/src/ir/module-splitting.cpp @@ -650,7 +650,6 @@ void ModuleSplitter::shareImportableItems() { for (auto& tag : primary.tags) { auto secondaryTag = std::make_unique<Tag>(); - secondaryTag->attribute = tag->attribute; secondaryTag->sig = tag->sig; makeImportExport(*tag, *secondaryTag, "tag", ExternalKind::Tag); secondary.addTag(std::move(secondaryTag)); diff --git a/src/ir/module-utils.h b/src/ir/module-utils.h index c93b24293..9c9f5cbfb 100644 --- a/src/ir/module-utils.h +++ b/src/ir/module-utils.h @@ -66,7 +66,6 @@ inline Global* copyGlobal(Global* global, Module& out) { inline Tag* copyTag(Tag* tag, Module& out) { auto* ret = new Tag(); ret->name = tag->name; - ret->attribute = tag->attribute; ret->sig = tag->sig; out.addTag(ret); return ret; |