Skip to content

Fix GH-24391: JIT: switch on constant null takes default instead of case 0 - #24393

Open
ndossche wants to merge 1 commit into
php:PHP-8.4from
ndossche:switch-jit-kapot
Open

ndossche wants to merge 1 commit into
php:PHP-8.4from
ndossche:switch-jit-kapot

Conversation

@ndossche

Copy link
Copy Markdown
Member

There was simply a mismatch in how the VM and JIT handled the types. I reworked how the jump target is chose, and hopefully made the code easier to understand in the process.

Interestingly, I already had a patch for this laying around, but never got to committing it...

…f case 0

There was simply a mismatch in how the VM and JIT handled the types.
I reworked how the jump target is chose, and hopefully made the code
easier to understand in the process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JIT: switch on constant null takes default instead of case 0 (opcache.jit=function, optimization_level=0)

1 participant