Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8e04a93996ff531149d5a435a849c8b01ef2efe0
      
https://github.com/WebKit/WebKit/commit/8e04a93996ff531149d5a435a849c8b01ef2efe0
  Author: Vassili Bykov <[email protected]>
  Date:   2025-11-12 (Wed, 12 Nov 2025)

  Changed paths:
    M Source/JavaScriptCore/wasm/js/WebAssemblyBuiltin.cpp

  Log Message:
  -----------
  Remove the redundant tryReserveCapacity() call in 
WebAssemblyBuiltinSet::finalizeCreation()
https://bugs.webkit.org/show_bug.cgi?id=302426
rdar://164587378

Reviewed by Yusuke Suzuki, Keith Miller, and Dan Hecht.

The patch removes an unnecessary call to tryReserveCapacity(). It is unnecessary
because it's followed by .grow() to the same size, which by itself increases the
capacity as needed.

Tests: covered by existing ones.
Canonical link: https://commits.webkit.org/302961@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to