Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 61cacd432582e782cb0cf619c799deb7c69fb410 https://github.com/WebKit/WebKit/commit/61cacd432582e782cb0cf619c799deb7c69fb410 Author: Vassili Bykov <v_by...@apple.com> Date: 2025-09-03 (Wed, 03 Sep 2025)
Changed paths: M Source/JavaScriptCore/wasm/generateWasmOpsHeader.py Log Message: ----------- Remove the redundant nullability comparison in Wasm::Type::operator==() https://bugs.webkit.org/show_bug.cgi?id=298352 rdar://159798856 Reviewed by Daniel Liu. The `Wasm::Type` struct (as generated by generateWasmOpsHeader.py) has been refactored by https://bugs.webkit.org/show_bug.cgi?id=244810, removing the `nullable` field and changing isNullable() to be based on the kind of the Type. After the refactoring, Type::operator==() still includes an explicit `other.isNullable() == isNullable()` check. That comparison is now redundant because given the new definition of isNullable(), `other.kind == kind` implies `other.isNullable() == isNullable()`. This patch removes the unnecessary comparison. Also fixed a set of typos in a nearby comment. Canonical link: https://commits.webkit.org/299536@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes