Commit d4dc8a9c authored by Santiago Aboy Solanes's avatar Santiago Aboy Solanes Committed by Commit Bot

[cleanup] Add USE in builtins-microtask-queue-gen for verify CSA

Change-Id: I30032793e1e764a7be7453b3fa97649bfded229a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2000748
Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org>
Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65794}
parent e04fbec1
...@@ -395,9 +395,11 @@ void MicrotaskQueueBuiltinsAssembler::RewindEnteredContext( ...@@ -395,9 +395,11 @@ void MicrotaskQueueBuiltinsAssembler::RewindEnteredContext(
ContextStack::kSizeOffset); ContextStack::kSizeOffset);
#ifdef ENABLE_VERIFY_CSA #ifdef ENABLE_VERIFY_CSA
TNode<IntPtrT> size = Load<IntPtrT>(hsi, size_offset); {
CSA_ASSERT(this, IntPtrLessThan(IntPtrConstant(0), size)); TNode<IntPtrT> size = Load<IntPtrT>(hsi, size_offset);
CSA_ASSERT(this, IntPtrLessThanOrEqual(saved_entered_context_count, size)); CSA_CHECK(this, IntPtrLessThan(IntPtrConstant(0), size));
CSA_CHECK(this, IntPtrLessThanOrEqual(saved_entered_context_count, size));
}
#endif #endif
StoreNoWriteBarrier(MachineType::PointerRepresentation(), hsi, size_offset, StoreNoWriteBarrier(MachineType::PointerRepresentation(), hsi, size_offset,
......
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