summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Goran Jakovljevic <Goran.Jakovljevic@imgtec.com> 2016-06-27 14:12:48 +0200
committer Goran Jakovljevic <Goran.Jakovljevic@imgtec.com> 2016-06-27 16:07:44 +0200
commit80ea234ea73652189f972d1d98f5b2ff0143456b (patch)
tree9f22c703f894092067ab5ebc9c8232983660e93b
parent337fcb78e278d9f17e7b546c183171c9c2212fc6 (diff)
Optimizing: Do not depend on sharpening in test 450
The sharpening may or may not remove the ArtMethod* parameter, so the test must not depend on its absence. This fixes the test 450 checker test on mips/mips64. Change-Id: Ie62c5a7da5994c3b0c6f0452c9abb37575216806
-rw-r--r--test/450-checker-types/src/Main.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/450-checker-types/src/Main.java b/test/450-checker-types/src/Main.java
index 98a09386ee..36f14d8779 100644
--- a/test/450-checker-types/src/Main.java
+++ b/test/450-checker-types/src/Main.java
@@ -649,7 +649,8 @@ public class Main {
/// CHECK-START: void Main.testExplicitArgumentMoreSpecific(SubclassA) inliner (before)
/// CHECK-DAG: <<Arg:l\d+>> ParameterValue klass:SubclassA
- /// CHECK-DAG: InvokeStaticOrDirect [<<Arg>>] method_name:Main.$inline$hashCode
+ // Note: The ArtMethod* (typed as int or long) is optional after sharpening.
+ /// CHECK-DAG: InvokeStaticOrDirect [<<Arg>>{{(,[ij]\d+)?}}] method_name:Main.$inline$hashCode
/// CHECK-START: void Main.testExplicitArgumentMoreSpecific(SubclassA) inliner (after)
/// CHECK-DAG: <<Arg:l\d+>> ParameterValue klass:SubclassA