Skip to content

Commit b77d0f9

Browse files
committed
todo
1 parent 03f7970 commit b77d0f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ir/module-splitting.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,7 @@ void ModuleSplitter::updateIR() {
993993
assert(curr->type.isExact());
994994
if (wasm.features.hasCustomDescriptors()) {
995995
// Add a cast, as the parent may depend on the exactness to validate.
996+
// TODO: The cast may be needed even without CD enabled
996997
replaceCurrent(Builder(wasm).makeRefCast(curr, curr->type));
997998
}
998999
curr->type = curr->type.with(Inexact);

0 commit comments

Comments
 (0)