We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97ebb0c commit 05ce530Copy full SHA for 05ce530
src/ir/manipulation.h
@@ -41,8 +41,9 @@ template<typename InputType> inline Nop* nop(InputType* target) {
41
}
42
43
template<typename InputType> inline RefNull* refNull(InputType* target) {
44
+ auto targetType = target->type;
45
auto* ret = convert<InputType, RefNull>(target);
- ret->finalize();
46
+ ret->finalize(targetType);
47
return ret;
48
49
0 commit comments