summaryrefslogtreecommitdiff
path: root/test/412-new-array/src
AgeCommit message (Collapse)Author
2025-02-14verifier: Reject `filled-new-array/-range` with `[J`/`[D`. Vladimir Marko
We were not enforcing the specified requirement from https://source.android.com/docs/core/runtime/dalvik-bytecode for `filled-new-array/-range`. We now reject the descriptors `[J` and `[D` in the verifier and defer arrays of primitive types other than `[I` to the interpreter. All these cases would have previously hit a `DCHECK()` in the compiler. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: Iaf91465faa8ed9599abe2504796a2d9bc5bd4678
2016-09-06Optimizing: Fix handling empty fill-array-data. Vladimir Marko
Test: m test-art-host-run-test-412-new-array Bug: 31300081 Change-Id: Id0512fc95a96c37de2ceab481666688435fa30f6
2016-07-22ARM64/x86-64: Fix mterp fill-array-data-payload pointer calculation. Vladimir Marko
Fix the pointer calculation to sign-extend the offset instead of zero-extending it, just like we do for the switch table pointer calculation. Clean up comments for the switch. Test: Additional test in 412-new-array. Change-Id: Ibb1d2d3fcb109f59280aca08de21e42edc4ce66b
2015-08-03Fix ambiguous phrasing in tests comments regarding $opt$. Roland Levillain
Change-Id: I78e6bccbe35288df5de30700d3877bbcdef37d65
2015-04-01CanThrow() of HNewArray should return true. Mingyao Yang
Change-Id: I9950f1c391dfeb26cf59cee769705d01d8e283d5
2014-10-23Fix wrong unsigned to signed conversions. Nicolas Geoffray
The HIntConstant node takes an int32_t, so we have to keep things signed. Change-Id: Ib3fa50e87f99118d320cbb381f619d5be9287530
2014-10-22Implement array creation related DEX instructions. Nicolas Geoffray
Implement new-array, filled-new-array, and fill-array-data. Change-Id: I405560d66777a57d881e384265322617ac5d3ce3