Commit 1d3c80d3 authored by Bill Budge's avatar Bill Budge Committed by Commit Bot

[compiler][backend][arm] Fix incorrect stack adjustment

- Stack adjustment was in slots, when it should be in bytes.

Bug: v8:11391
Change-Id: Ia791f2b637337279be62d66377f9b5be35f31839
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2674062Reviewed-by: 's avatarZhi An Ng <zhin@chromium.org>
Commit-Queue: Bill Budge <bbudge@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72515}
parent 4e61ba42
......@@ -1771,7 +1771,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
// the slot allocator reclaimed other padding slots. Adjust the stack
// here to skip any gap.
if (slots > pushed_slots) {
__ AllocateStackSpace(slots - pushed_slots);
__ AllocateStackSpace((slots - pushed_slots) * kSystemPointerSize);
}
switch (rep) {
case MachineRepresentation::kFloat32:
......
......@@ -293,8 +293,6 @@
['arch == arm and not simulator_run', {
# crbug.com/v8/7605
'test-heap/OutOfMemorySmallObjects': [SKIP],
# TODO(v8:11391)
'test-code-generator/Regress_1171759': [SKIP],
}], # 'arch == arm and not simulator_run'
##############################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment