[maglev] Use Sub instead of sub
Because the Immediate might not fit in an immediate. Bug: v8:7700 Change-Id: Ie5efca4af40cc4b10766144a295046f99cb5f25c Fixed: chromium:1412730 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4224462 Auto-Submit: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Victor Gomes <victorgomes@chromium.org> Commit-Queue: Victor Gomes <victorgomes@chromium.org> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/main@{#85690}
This commit is contained in:
parent
11c99c33fe
commit
32e94af866
@ -431,7 +431,7 @@ void MaglevAssembler::Prologue(Graph* graph) {
|
||||
remaining_stack_slots += (remaining_stack_slots % 2);
|
||||
// Extend sp by the size of the remaining untagged part of the frame,
|
||||
// no need to initialise these.
|
||||
sub(sp, sp, Immediate(remaining_stack_slots * kSystemPointerSize));
|
||||
Sub(sp, sp, Immediate(remaining_stack_slots * kSystemPointerSize));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user