mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-30 05:09:01 +00:00
LibJS: Don't make Bytecode::Operand::Type an u8 outside of aarch64
This is a slightly mystified attempt to recover the performance regression seen on our JS benchmark runner after3c2a2bb39f
andc7bba505ea
. With this change,c7bba505ea
is effectively reverted from the perspective of x86_64.
This commit is contained in:
parent
ee6b2db009
commit
e695dc1405
Notes:
github-actions[bot]
2025-04-06 18:15:19 +00:00
Author: https://github.com/awesomekling
Commit: e695dc1405
1 changed files with 5 additions and 1 deletions
|
@ -13,7 +13,11 @@ namespace JS::Bytecode {
|
||||||
|
|
||||||
class Operand {
|
class Operand {
|
||||||
public:
|
public:
|
||||||
enum class Type : u8 {
|
enum class Type
|
||||||
|
#if ARCH(AARCH64)
|
||||||
|
: u8
|
||||||
|
#endif
|
||||||
|
{
|
||||||
Invalid,
|
Invalid,
|
||||||
Register,
|
Register,
|
||||||
Local,
|
Local,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue