[baseline] Fix DCHECK in PrologueFillFrame
Change-Id: I8b5c6347ab22d2578bd8975cf10b5508832fd0c0 Bug: v8:11429 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2695398 Commit-Queue: Victor Gomes <victorgomes@chromium.org> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Auto-Submit: Victor Gomes <victorgomes@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Cr-Commit-Position: refs/heads/master@{#72741}
This commit is contained in:
parent
620afd2387
commit
b4050a76b6
@ -505,7 +505,7 @@ void BaselineCompiler::PrologueFillFrame() {
|
|||||||
__ masm()->Push(kJavaScriptCallNewTargetRegister,
|
__ masm()->Push(kJavaScriptCallNewTargetRegister,
|
||||||
kInterpreterAccumulatorRegister);
|
kInterpreterAccumulatorRegister);
|
||||||
} else {
|
} else {
|
||||||
DCHECK_EQ(i, new_target_index + 1);
|
DCHECK_EQ(i, new_target_index - 1);
|
||||||
__ masm()->Push(kInterpreterAccumulatorRegister,
|
__ masm()->Push(kInterpreterAccumulatorRegister,
|
||||||
kJavaScriptCallNewTargetRegister);
|
kJavaScriptCallNewTargetRegister);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user