Commit 67fab0b
committed
deps: V8: increase RISC-V trampoline pool gap
Fixes: #60895
The error (trampoline_pos - fixup_pos) <= kMaxBranchOffset on RISC-V indicates that the trampoline pool is being emitted too late, causing branch targets to be out of range.
This commit increases BlockPoolsScope::kGap in assembler-riscv.h from 16 slots to 32 slots. This increases the safety margin, ensuring that the trampoline pool is checked and emitted earlier, preventing the branch offset overflow.1 parent 10837e3 commit 67fab0b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
| 484 | + | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
| |||
0 commit comments