Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fcf3ca83171a536e886f5db868de709d1cafcd39
      
https://github.com/WebKit/WebKit/commit/fcf3ca83171a536e886f5db868de709d1cafcd39
  Author: Daniel Liu <danl...@umich.edu>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  Changed paths:
    M Source/JavaScriptCore/llint/InPlaceInterpreter.asm
    M Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp

  Log Message:
  -----------
  In-place interpreter: fix clobbered register in call and reduce memory usage 
for if and br
https://bugs.webkit.org/show_bug.cgi?id=260471
rdar://114218539

Reviewed by Yusuke Suzuki.

Updated `call` instruction to save caller save registers around the operation 
call.
Reduce memory usage for if and br by 3B by saving the size of the instruction 
instead of the next PC.

* Source/JavaScriptCore/llint/InPlaceInterpreter.asm:
* Source/JavaScriptCore/wasm/WasmIPIntGenerator.cpp:
(JSC::Wasm::IPIntGenerator::addIf):
(JSC::Wasm::IPIntGenerator::addBranch):
(JSC::Wasm::IPIntGenerator::addSwitch):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to