s390: Use DCHECK_LE when checking kEagerWithResumeDeoptExitSize
brc or brcl may be emitted depending on the offset length. The emitted instr size may be 4 or 6 bytes. Change-Id: I542ae6a60378ee33e48e08d4f1cdeda4c4c70bb1 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2572497 Reviewed-by: Junliang Yan <junyan@redhat.com> Commit-Queue: Milad Fa <mfarazma@redhat.com> Cr-Commit-Position: refs/heads/master@{#71603}
This commit is contained in:
parent
e33c13c2a2
commit
a020a05ecd
@ -4629,7 +4629,7 @@ void TurboAssembler::CallForDeoptimization(Builtins::Name target, int,
|
||||
: Deoptimizer::kNonLazyDeoptExitSize);
|
||||
if (kind == DeoptimizeKind::kEagerWithResume) {
|
||||
b(ret);
|
||||
DCHECK_EQ(SizeOfCodeGeneratedSince(exit),
|
||||
DCHECK_LE(SizeOfCodeGeneratedSince(exit),
|
||||
Deoptimizer::kEagerWithResumeDeoptExitSize);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user