/art/test/636-arm64-veneer-pool/src/ |
D | Main.java | 17 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 18 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 19 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 20 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 21 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 23 …tic void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } in m() 24 …void mImpl(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } in mImpl() 26 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 27 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() 28 …c void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } } in m() [all …]
|
/art/test/458-checker-instruct-simplification/src/ |
D | Main.java | 25 throw new Error("Expected: " + expected + ", found: " + result); in assertBooleanEquals() 31 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals() 37 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals() 43 throw new Error("Expected: " + expected + ", found: " + result); in assertFloatEquals() 49 throw new Error("Expected: " + expected + ", found: " + result); in assertDoubleEquals() 55 throw new Error("Expected: " + expected + ", found: " + result); in assertStringEquals() 77 if (doThrow) { throw new Error(); } in $noinline$Add0() 100 if (doThrow) { throw new Error(); } in $noinline$AddAddSubAddConst() 118 if (doThrow) { throw new Error(); } in $noinline$AndAllOnes() 140 if (doThrow) { throw new Error(); } in $noinline$UShr28And15() [all …]
|
/art/test/514-shifts/src/ |
D | Main.java | 31 throw new Error("Expected -2147483648, got " + b); in testIntShiftLeft() 34 throw new Error("Expected 0xFFF, got " + a); in testIntShiftLeft() 42 throw new Error("Expected 0, got " + b); in testIntShiftRight() 45 throw new Error("Expected 0xFFF, got " + a); in testIntShiftRight() 53 throw new Error("Expected 0, got " + b); in testIntUnsignedShiftRight() 56 throw new Error("Expected 0xFFF, got " + a); in testIntUnsignedShiftRight() 64 throw new Error("Expected 0x2468ACF13579BDEL, got " + b); in testLongShiftLeft() 69 throw new Error("Expected 0x41, got " + a); in testLongShiftLeft() 77 throw new Error("Expected 0x91A2B3C4D5E6F7L, got " + b); in testLongShiftRight() 82 throw new Error("Expected 0x41, got " + a); in testLongShiftRight() [all …]
|
/art/test/638-checker-inline-caches/src/ |
D | Main.java | 139 throw new Error("Expected 42"); in testInlineMonomorphic() 144 throw new Error("Expected 38"); in testInlineMonomorphic() 150 throw new Error("Expected 42"); in testInlinePolymorhic() 154 throw new Error("Expected 38"); in testInlinePolymorhic() 159 throw new Error("Expected 25"); in testInlinePolymorhic() 163 throw new Error("Expected 42"); in testInlinePolymorhic() 167 throw new Error("Expected 24"); in testInlinePolymorhic() 172 throw new Error("Expected 38"); in testInlinePolymorhic() 178 throw new Error("Expected 42"); in testInlineMegamorphic() 185 throw new Error("Expected 42"); in testNoInlineCache()
|
/art/test/441-checker-inliner/src/ |
D | Main.java | 227 throw new Error(); in main() 231 throw new Error(); in main() 235 throw new Error(); in main() 239 throw new Error(); in main() 243 throw new Error(); in main() 247 throw new Error(); in main() 251 throw new Error(); in main() 255 throw new Error(); in main() 259 throw new Error(); in main() 263 throw new Error(); in main() [all …]
|
/art/test/639-checker-code-sinking/src/ |
D | Main.java | 32 } catch (Error e) { in main() 38 } catch (Error e) { in main() 45 } catch (Error e) { in main() 74 throw new Error(o.toString()); in testSimpleUse() 99 throw new Error(o.toString() + o.toString()); in testTwoUses() 130 throw new Error(m.toString()); in testFieldStores() 161 throw new Error(m1.toString() + m2.toString()); in testFieldStoreCycle() 194 throw new Error(o.toString()); in testArrayStores() 205 throw new Error(m.toString()); in testOnlyStoreUses() 217 throw new Error(m.toString()); in testNoUse() [all …]
|
/art/test/462-checker-inlining-dex-files/src/ |
D | Main.java | 166 throw new Error("Expected 38"); in main() 170 throw new Error("Expected 1"); in main() 174 throw new Error("Expected 42"); in main() 178 throw new Error("Expected OtherDex"); in main() 182 throw new Error("Expected " + OtherDex.class); in main() 186 throw new Error("Expected " + OtherDex.class); in main() 190 throw new Error("Expected " + Main.class); in main() 194 throw new Error("Expected " + Main.class); in main()
|
/art/test/542-bitfield-rotates/src/ |
D | Main.java | 21 throw new Error("Expected: " + expected + ", found: " + actual); in assertIntEquals() 27 throw new Error("Expected: " + expected + ", found: " + actual); in assertLongEquals() 55 throw new Error(); in $noinline$rotate_int_right_reg_v_csubv() 78 throw new Error(); in $noinline$rotate_long_right_reg_v_csubv() 101 throw new Error(); in $noinline$rotate_int_left_reg_csubv_v() 124 throw new Error(); in $noinline$rotate_long_left_reg_csubv_v() 147 throw new Error(); in $noinline$rotate_int_right_reg_v_negv() 170 throw new Error(); in $noinline$rotate_long_right_reg_v_negv() 193 throw new Error(); in $noinline$rotate_int_left_reg_negv_v() 216 throw new Error(); in $noinline$rotate_long_left_reg_negv_v() [all …]
|
/art/test/565-checker-doublenegbitwise/src/ |
D | Main.java | 26 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals() 32 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals() 38 throw new Error("Expected: " + expected + ", found: " + result); in assertEquals() 43 if (doThrow) { throw new Error(); } in $noinline$runSmaliTest() 51 throw new Error(ex); in $noinline$runSmaliTest() 85 if (doThrow) throw new Error(); in $opt$noinline$andToOr() 122 if (doThrow) throw new Error(); in $opt$noinline$booleanAndToOr() 156 if (doThrow) throw new Error(); in $opt$noinline$orToAnd() 193 if (doThrow) throw new Error(); in $opt$noinline$booleanOrToAnd() 234 if (doThrow) throw new Error(); in $opt$noinline$regressInputsAway() [all …]
|
/art/test/530-instanceof-checkcast/src/ |
D | Main.java | 117 throw new Error("Unreachable"); in checkInstanceOfTryCatch() 123 throw new Error("Expected " + expected + ", got " + actual); in check() 132 throw new Error("Can't reach here"); in checkCheckCast() 139 throw new Error("Can't reach here"); in checkCheckCast() 146 throw new Error("Can't reach here"); in checkCheckCast() 154 throw new Error("Can't reach here"); in checkCheckCast() 160 throw new Error("Can't reach here"); in checkCheckCast() 165 throw new Error("Can't reach here"); in checkCheckCast() 171 throw new Error("Can't reach here"); in checkCheckCast() 177 throw new Error("Can't reach here"); in checkCheckCast() [all …]
|
/art/test/564-checker-negbitwise/src/ |
D | Main.java | 24 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals() 30 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals() 80 if (doThrow) throw new Error(); in $opt$noinline$notAnd() 130 if (doThrow) throw new Error(); in $opt$noinline$notOr() 177 if (doThrow) throw new Error(); in $opt$noinline$notXor() 213 if (doThrow) throw new Error(); in $opt$noinline$notAndConstant() 269 if (doThrow) throw new Error(); in $opt$noinline$notAndMultipleUses() 288 if (doThrow) throw new Error(); in $opt$noinline$deMorganOr()
|
/art/test/570-checker-select/src/ |
D | Main.java | 42 throw new Error(); in BoolCond_IntVarVar() 68 throw new Error(); in BoolCond_IntVarCst() 94 throw new Error(); in BoolCond_IntCstVar() 121 throw new Error(); in BoolCond_LongVarVar() 148 throw new Error(); in BoolCond_LongVarCst() 175 throw new Error(); in BoolCond_LongCstVar() 191 throw new Error(); in BoolCond_FloatVarVar() 207 throw new Error(); in BoolCond_FloatVarCst() 223 throw new Error(); in BoolCond_FloatCstVar() 250 throw new Error(); in IntNonmatCond_IntVarVar() [all …]
|
/art/test/536-checker-intrinsic-optimization/src/ |
D | Main.java | 24 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals() 30 throw new Error("Expected: " + expected + ", found: " + result); in assertBooleanEquals() 36 throw new Error("Expected: " + expected + ", found: " + result); in assertCharEquals() 42 throw new Error("Search term: " + searchTerm + ", not found in: " + result); in assertStringContains() 66 throw new Error("Should throw SIOOB."); in main() 73 throw new Error("Should throw SIOOB."); in main() 80 throw new Error("Should throw SIOOB."); in main() 95 throw new Error("Should throw SIOOB."); in main() 104 throw new Error("Should throw SIOOB."); in main() 126 if (doThrow) { throw new Error(); } in $opt$noinline$getStringLength() [all …]
|
/art/test/570-checker-osr/src/ |
D | Main.java | 22 throw new Error("Unexpected return value"); in main() 25 throw new Error("Unexpected return value"); in main() 28 throw new Error("Unexpected return value "); in main() 31 throw new Error("Unexpected return value"); in main() 41 throw new Error("Unexpected return value"); in main() 46 throw new Error("Unexpected return value"); in main() 53 throw new Error("Unexpected return value"); in main() 64 if (doThrow) throw new Error(""); in $noinline$returnInt() 74 if (doThrow) throw new Error(""); in $noinline$returnFloat() 84 if (doThrow) throw new Error(""); in $noinline$returnDouble() [all …]
|
/art/test/437-inline/src/ |
D | Main.java | 20 throw new Error(); in main() 24 throw new Error(); in main() 28 throw new Error(); in main() 32 throw new Error(); in main() 36 throw new Error(); in main() 43 throw new Error(); in main() 47 throw new Error(); in main()
|
/art/test/401-optimizing-compiler/src/ |
D | Main.java | 22 Error error = null; in main() 25 } catch (Error e) { in main() 34 throw new Error("Different value returned: " + result); in main() 43 throw new Error("Different object returned " + a + " " + b); in main() 48 throw new Error("Unexpected result: " + result); in main() 53 throw new Error("Unexpected result: " + result); in main() 58 throw new Error("Unexpected result: " + result); in main() 63 throw new Error("Unexpected result: " + result); in main() 68 throw new Error("Unexpected value returned"); in main() 72 throw new Error("Unexpected value returned"); in main() [all …]
|
/art/test/478-checker-clinit-check-pruning/src/ |
D | Main.java | 107 if (doThrow) { throw new Error(); } in $noinline$staticMethod() 183 if (doThrow) { throw new Error(); } in $noinline$staticMethod() 245 if (doThrow) { throw new Error(); } in $noinline$staticMethod() 325 if (doThrow) { throw new Error(""); } in $noinline$someStaticMethod() 357 if (doThrow) { throw new Error(""); } in $noinline$someStaticMethod() 386 if (doThrow) { throw new Error(""); } in $noinline$someStaticMethod() 423 throw new Error(""); in inlinedForNull() 465 throw new Error(""); in inlinedForNull() 502 throw new Error(""); in inlinedForNull() 519 if (doThrow) { throw new Error(""); } in $noinline$getIterator() [all …]
|
/art/test/552-checker-sharpening/src/ |
D | Main.java | 21 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals() 27 throw new Error("Expected: " + expected + ", found: " + result); in assertStringEquals() 33 throw new Error("Expected: " + expected + ", found: " + result); in assertClassEquals() 40 if (doThrow) { throw new Error(); } in $noinline$foo() 241 if (doThrow) { throw new Error(); } in $noinline$getBootImageString() 273 if (doThrow) { throw new Error(); } in $noinline$getNonBootImageString() 304 if (doThrow) { throw new Error(); } in $noinline$getStringClass() 333 if (doThrow) { throw new Error(); } in $noinline$getOtherClass()
|
/art/test/439-npe/src/ |
D | Main.java | 41 if (doThrow) { throw new Error(); } in $opt$noinline$setObjectField() 46 if (doThrow) { throw new Error(); } in $opt$noinline$setIntField() 51 if (doThrow) { throw new Error(); } in $opt$noinline$setFloatField() 56 if (doThrow) { throw new Error(); } in $opt$noinline$setLongField() 61 if (doThrow) { throw new Error(); } in $opt$noinline$setDoubleField() 66 if (doThrow) { throw new Error(); } in $opt$noinline$setByteField() 71 if (doThrow) { throw new Error(); } in $opt$noinline$setBooleanField() 76 if (doThrow) { throw new Error(); } in $opt$noinline$setCharField() 81 if (doThrow) { throw new Error(); } in $opt$noinline$setShortField() 86 if (doThrow) { throw new Error(); } in $opt$noinline$getObjectField() [all …]
|
/art/test/550-checker-multiply-accumulate/src/ |
D | Main.java | 24 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals() 30 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals() 83 if (doThrow) throw new Error(); in $opt$noinline$mulAdd() 125 if (doThrow) throw new Error(); in $opt$noinline$mulSub() 177 if (doThrow) throw new Error(); in $opt$noinline$multipleUses1() 235 if (doThrow) throw new Error(); in $opt$noinline$multipleUses2() 288 if (doThrow) throw new Error(); in $opt$noinline$mulPlusOne() 329 if (doThrow) throw new Error(); in $opt$noinline$mulMinusOne() 376 if (doThrow) throw new Error(); in $opt$noinline$mulNeg() 423 if (doThrow) throw new Error(); in $opt$noinline$mulNeg()
|
/art/test/593-checker-boolean-2-integral-conv/src/ |
D | Main.java | 220 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsByte() 226 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsShort() 232 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsChar() 238 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsInt() 244 throw new Error("Expected: " + expected + ", found: " + result); in expectEqualsLong() 254 throw new Error(ex); in $noinline$runSmaliTest() 264 throw new Error(ex); in $noinline$runSmaliTest()
|
/art/test/551-checker-shifter-operand/src/ |
D | Main.java | 24 throw new Error("Expected: " + expected + ", found: " + result); in assertByteEquals() 30 throw new Error("Expected: " + expected + ", found: " + result); in assertCharEquals() 36 throw new Error("Expected: " + expected + ", found: " + result); in assertShortEquals() 42 throw new Error("Expected: " + expected + ", found: " + result); in assertIntEquals() 48 throw new Error("Expected: " + expected + ", found: " + result); in assertLongEquals() 53 static char $noinline$byteToChar (byte v) { if (doThrow) throw new Error(); return (char)v; } in $noinline$byteToChar() 54 static short $noinline$byteToShort (byte v) { if (doThrow) throw new Error(); return (short)v; } in $noinline$byteToShort() 55 static int $noinline$byteToInt (byte v) { if (doThrow) throw new Error(); return (int)v; } in $noinline$byteToInt() 56 static long $noinline$byteToLong (byte v) { if (doThrow) throw new Error(); return (long)v; } in $noinline$byteToLong() 57 static byte $noinline$charToByte (char v) { if (doThrow) throw new Error(); return (byte)v; } in $noinline$charToByte() [all …]
|
/art/test/466-get-live-vreg/src/ |
D | Main.java | 30 throw new Error(e); in moveArgToCalleeSave() 48 throw new Error(""); in $opt$noinline$testIntervalHole() 57 throw new Error("Expected " + staticField3); in main() 61 throw new Error("Expected " + staticField3); in main() 75 throw new Error(e); in testWrapperIntervalHole()
|
/art/test/495-checker-checkcast-tests/src/ |
D | Main.java | 146 throw new Error("ClassCastException expected"); in main() 160 throw new Error("ClassCastException expected"); in main() 170 throw new Error("ClassCastException expected"); in main() 178 throw new Error("ClassCastException expected"); in main() 184 throw new Error("ClassCastException expected"); in main() 198 throw new Error("ClassCastException expected"); in main() 208 throw new Error("ClassCastException expected"); in main() 216 throw new Error("ClassCastException expected"); in main()
|
/art/test/461-get-reference-vreg/src/ |
D | Main.java | 45 throw new Error("Expected 1"); in main() 49 throw new Error("Expected 2"); in main() 53 throw new Error("Expected 3"); in main() 57 throw new Error("Expected 4"); in main()
|