Commit 430248c
committed
fix: pass descriptor to _GUARD_BINARY_OP_EXTEND_{LHS,RHS} in tier2 optimizer
The descriptor pointer was not being passed as an operand when adding
_GUARD_BINARY_OP_EXTEND_LHS and _GUARD_BINARY_OP_EXTEND_RHS operations
in the tier2 optimizer. This caused the executor to read garbage/NULL
values from the inline cache, leading to assertion failures and crashes
in JIT-compiled code.
Fixed by passing the descriptor as a uintptr_t operand, following the
same pattern used for other pointer-valued operations like
_CALL_METHOD_DESCRIPTOR_*.
Fixes CI failures where multiple test platforms were failing.1 parent 0b8dfee commit 430248c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
| 458 | + | |
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| |||
0 commit comments