Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 05eebf3077771836e4602ceaac0926ba9d5367b7
https://github.com/WebKit/WebKit/commit/05eebf3077771836e4602ceaac0926ba9d5367b7
Author: Yusuke Suzuki <[email protected]>
Date: 2024-04-22 (Mon, 22 Apr 2024)
Changed paths:
A JSTests/stress/jstrict-eq-constant-simple.js
A JSTests/stress/jstrict-neq-constant-simple.js
A JSTests/stress/strict-eq-constant-simple.js
A JSTests/stress/strict-neq-constant-simple.js
M Source/JavaScriptCore/jit/JITOpcodes.cpp
Log Message:
-----------
[JSC] Micro-optimize stricteq in Baseline JIT with bitwise-comparable
constants
https://bugs.webkit.org/show_bug.cgi?id=272948
rdar://126726702
Reviewed by Keith Miller.
We observed stricteq with true / false / void 0 / null cases in the wild, so
let's have some optimized code generation even in baseline JIT since it is
simple.
* JSTests/stress/jstrict-eq-constant-simple.js: Added.
(shouldBe):
(test1):
(test2):
(test3):
(test4):
* JSTests/stress/jstrict-neq-constant-simple.js: Added.
(shouldBe):
(test1):
(test2):
(test3):
(test4):
* JSTests/stress/strict-eq-constant-simple.js: Added.
(shouldBe):
(test1):
(test2):
(test3):
(test4):
* JSTests/stress/strict-neq-constant-simple.js: Added.
(shouldBe):
(test1):
(test2):
(test3):
(test4):
* Source/JavaScriptCore/jit/JITOpcodes.cpp:
(JSC::JIT::compileOpStrictEq):
(JSC::JIT::compileOpStrictEqJump):
Canonical link: https://commits.webkit.org/277852@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