Change-Id: I47a24352922ab32d4a07d6d32b5126d03c8f497f
((SubclassA)b).$noinline$g();
}
- public SubclassA getSubclass() { throw new RuntimeException(); }
+ public SubclassA $noinline$getSubclass() { throw new RuntimeException(); }
/// CHECK-START: void Main.testInvokeSimpleRemove() instruction_simplifier_after_types (before)
/// CHECK: CheckCast
/// CHECK-START: void Main.testInvokeSimpleRemove() instruction_simplifier_after_types (after)
/// CHECK-NOT: CheckCast
public void testInvokeSimpleRemove() {
- Super b = getSubclass();
+ Super b = $noinline$getSubclass();
((SubclassA)b).$noinline$g();
}