Skip to content

Commit e288d38

Browse files
rakudramaCommit Queue
authored andcommitted
[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 <[email protected]> Commit-Queue: Stephen Adams <[email protected]>
1 parent 93fda3e commit e288d38

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

runtime/vm/compiler/backend/pragma_unsafe_no_bounds_check_test.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
namespace dart {
1212

13+
#if !defined(TARGET_ARCH_IA32)
14+
1315
static int CountCheckBounds(FlowGraph* flow_graph) {
1416
int checks = 0;
1517
for (BlockIterator block_it = flow_graph->reverse_postorder_iterator();
@@ -105,4 +107,6 @@ ISOLATE_UNIT_TEST_CASE(BoundsCheckElimination_Pragma_learning_control) {
105107
EXPECT_EQ(1, CountCheckBounds(flow_graph));
106108
}
107109

110+
#endif // !defined(TARGET_ARCH_IA32)
111+
108112
} // namespace dart

0 commit comments

Comments
 (0)