Fix cctest/JumpTablePatchingStress
after ccefc2e273
.
Bug: v8:13023
Change-Id: I5830296fa03e75e503cea116e90ff27327b0b642
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3790960
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Auto-Submit: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82021}
This commit is contained in:
parent
46887d2bb0
commit
0430b5b809
@ -254,7 +254,6 @@ TEST(JumpTablePatchingStress) {
|
||||
|
||||
std::bitset<kAvailableBufferSlots> used_thunk_slots;
|
||||
buffer->MakeWritableAndExecutable();
|
||||
RwxMemoryWriteScopeForTesting rwx_write_scope;
|
||||
|
||||
// Iterate through jump-table slots to hammer at different alignments within
|
||||
// the jump-table, thereby increasing stress for variable-length ISAs.
|
||||
@ -265,6 +264,7 @@ TEST(JumpTablePatchingStress) {
|
||||
std::vector<std::unique_ptr<TestingAssemblerBuffer>> thunk_buffers;
|
||||
std::vector<Address> patcher_thunks;
|
||||
{
|
||||
RwxMemoryWriteScopeForTesting rwx_write_scope;
|
||||
// Patch the jump table slot to jump to itself. This will later be patched
|
||||
// by the patchers.
|
||||
Address slot_addr =
|
||||
|
Loading…
Reference in New Issue
Block a user