commit | e288d38ce7d34fbd6b5cb795024644128c49afb7 | [log] [tgz] |
---|---|---|
author | Stephen Adams <sra@google.com> | Thu Oct 24 00:12:41 2024 +0000 |
committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 24 00:12:41 2024 +0000 |
tree | 3cc6bbc27a04919e3ea52120e171fdfff4cef4f1 | |
parent | 93fda3ea7d823310a39e76ac9eefcbf94a7809b3 [diff] |
[vm] Don't do pragma_unsafe_no_bounds_check_test on IA32 TEST=ci Bug: #56910 Change-Id: Iaed0cbf5ed139a14cfa4736839fbd6013bcfccfc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/391702 Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Stephen Adams <sra@google.com>
diff --git a/runtime/vm/compiler/backend/pragma_unsafe_no_bounds_check_test.cc b/runtime/vm/compiler/backend/pragma_unsafe_no_bounds_check_test.cc index c2c0e5a..002be46 100644 --- a/runtime/vm/compiler/backend/pragma_unsafe_no_bounds_check_test.cc +++ b/runtime/vm/compiler/backend/pragma_unsafe_no_bounds_check_test.cc
@@ -10,6 +10,8 @@ namespace dart { +#if !defined(TARGET_ARCH_IA32) + static int CountCheckBounds(FlowGraph* flow_graph) { int checks = 0; for (BlockIterator block_it = flow_graph->reverse_postorder_iterator(); @@ -105,4 +107,6 @@ EXPECT_EQ(1, CountCheckBounds(flow_graph)); } +#endif // !defined(TARGET_ARCH_IA32) + } // namespace dart