summaryrefslogtreecommitdiff
path: root/test/lit/help/wasm-split.test
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-08-21 11:45:24 -0700
committerGitHub <noreply@github.com>2023-08-21 11:45:24 -0700
commit4672c533985e8f2c9a88dec616aa3d9b95deb63e (patch)
tree2a78580977dec80e3f56b54debc67b48e064aa28 /test/lit/help/wasm-split.test
parentb41ec7cb488481e5b1a57fc7203e9c0bc7331bbd (diff)
downloadbinaryen-4672c533985e8f2c9a88dec616aa3d9b95deb63e.tar.gz
binaryen-4672c533985e8f2c9a88dec616aa3d9b95deb63e.tar.bz2
binaryen-4672c533985e8f2c9a88dec616aa3d9b95deb63e.zip
Fix finalization of call_ref to handle refined target types (#5883)
Previously CallRef::finalize() would never update the type of the CallRef, even if the type of the call target had been refined to give a more precise result type. Besides unnecessarily losing type information, this could also lead to validation errors, since the validator checks that the type of CallRef matches the result type of the target signature. Fix the bug by updating CallRef's type based on its target signature in CallRef::finalize() and add a test that depends on this refinalization.
Diffstat (limited to 'test/lit/help/wasm-split.test')
0 files changed, 0 insertions, 0 deletions