Skip to content

Commit 050561f

Browse files
alexmarkovcommit-bot@chromium.org
authored andcommitted
[vm] Relax recently added assertion in Dart 1 mode
This CL relaxes assertion added recently in c6c4748 as it could fail in Dart 1 mode. This should fix 'checked vm tests' step on debug bots which still runs tests in Dart 1 mode. Change-Id: Ifdd6e27087b44822ce9cd5be48750af1c7d45a8e Reviewed-on: https://dart-review.googlesource.com/75201 Reviewed-by: Zach Anderson <zra@google.com> Reviewed-by: Régis Crelier <regis@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
1 parent 6c712f1 commit 050561f

File tree

1 file changed

+1
-1
lines changed
  • runtime/vm/compiler/backend

1 file changed

+1
-1
lines changed

runtime/vm/compiler/backend/il.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2993,7 +2993,7 @@ class AssertAssignableInstr : public TemplateDefinition<3, Throws, Pure> {
29932993
ASSERT(!dst_type.IsNull());
29942994
ASSERT(!dst_type.IsTypeRef());
29952995
ASSERT(!dst_name.IsNull());
2996-
ASSERT(!dst_type.IsDynamicType());
2996+
ASSERT(!FLAG_strong || !dst_type.IsDynamicType());
29972997
SetInputAt(0, value);
29982998
SetInputAt(1, instantiator_type_arguments);
29992999
SetInputAt(2, function_type_arguments);

0 commit comments

Comments
 (0)