mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:27:43 +00:00
[vm/compiler] Disable max block id check (for now)
https://github.com/dart-lang/sdk/issues/35789 Change-Id: Id37ca8191eb78431bb9bfaf23dd982b4cc5b44df Reviewed-on: https://dart-review.googlesource.com/c/91421 Reviewed-by: Aart Bik <ajcbik@google.com> Commit-Queue: Aart Bik <ajcbik@google.com>
This commit is contained in:
parent
e02399da33
commit
fc417a73ed
|
@ -60,11 +60,13 @@ void FlowGraphChecker::CheckBasicBlocks() {
|
|||
}
|
||||
|
||||
// Iterate over all basic blocks.
|
||||
const intptr_t max_block_id = flow_graph_->max_block_id();
|
||||
// const intptr_t max_block_id = flow_graph_->max_block_id();
|
||||
for (BlockIterator block_it = flow_graph_->reverse_postorder_iterator();
|
||||
!block_it.Done(); block_it.Advance()) {
|
||||
BlockEntryInstr* block = block_it.Current();
|
||||
ASSERT(block->block_id() <= max_block_id);
|
||||
// Re-enable this if possible
|
||||
// https://github.com/dart-lang/sdk/issues/35789
|
||||
// ASSERT(block->block_id() <= max_block_id);
|
||||
// Make sure ordering is consistent.
|
||||
ASSERT(block->preorder_number() <= block_count);
|
||||
ASSERT(block->postorder_number() <= block_count);
|
||||
|
|
Loading…
Reference in a new issue