Skip to content

Commit

Permalink
Adjust Checker assertions in ART run-test 663-checker-select-generator.
Browse files Browse the repository at this point in the history
Flag: TEST_ONLY
Test: atest -a art-run-test-663-checker-select-generator
Bug: 245535393
Change-Id: I8f3755ac540c4cd34805b4988a7dd7384256368b
  • Loading branch information
roland-levillain committed Jun 14, 2024
1 parent 4c47f34 commit 9132d90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/663-checker-select-generator/src/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,11 @@ private static void assertEquals(int expected, int actual) {

// Check that we don't generate a select since we only have a single return.

/// CHECK-START: int Main.$noinline$testSimpleDiamondSameValueWithReturn(boolean) builder (after)
/// CHECK-START: int Main.$noinline$testDoubleDiamondSameValueWithReturn(boolean, boolean) builder (after)
/// CHECK: <<Const10:i\d+>> IntConstant 10
/// CHECK: Return [<<Const10>>]

/// CHECK-START: int Main.$noinline$testSimpleDiamondSameValueWithReturn(boolean) builder (after)
/// CHECK-START: int Main.$noinline$testDoubleDiamondSameValueWithReturn(boolean, boolean) builder (after)
/// CHECK: Return
/// CHECK-NOT: Return
private static int $noinline$testDoubleDiamondSameValueWithReturn(boolean bool_param_1, boolean bool_param_2) {
Expand Down

0 comments on commit 9132d90

Please sign in to comment.