Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 050ce797fa7567c23da29d0cba5508ac5ebb91ca
      
https://github.com/WebKit/WebKit/commit/050ce797fa7567c23da29d0cba5508ac5ebb91ca
  Author: Ioanna M. Dimitriou H <[email protected]>
  Date:   2025-05-03 (Sat, 03 May 2025)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmOMGIRGenerator32_64.cpp

  Log Message:
  -----------
  Set the opcode origin correctly on Wasm OMG IR Generator for 32bit CPUs
https://bugs.webkit.org/show_bug.cgi?id=292428

Reviewed by Justin Michaud.

Incorporates relevant changes from WasmOMGIRGenerator.cpp, that set the opcode 
origin correctly on 32bit CPUs.

This fixes the following failures on 32bit when OMG is enabled:
- JSTests/wasm/stress/simple-inline-stacktrace.js
- JSTests/wasm/stress/simple-inline-stacktrace-with-catch.js
- JSTests/wasm/function-tests/stack-trace.js

* Source/JavaScriptCore/wasm/WasmOMGIRGenerator32_64.cpp:
(JSC::Wasm::OMGIRGenerator::OMGIRGenerator): adds a new first argument 
CompilationContext& m_context
(JSC::Wasm::OMGIRGenerator::emitInlineDirectCall): adds argument m_context to 
the call to makeUnique<OMGIRGenerator>
(JSC::Wasm::OMGIRGenerator::origin): incorporates the same changes in this 
function from WasmOMGIRGenerator.cpp
(JSC::Wasm::parseAndCompileOMG): adds new context argument to the 
OMGIRGenerator constructor

Canonical link: https://commits.webkit.org/294475@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to