Support array classes in profiles.

This helps generate better AOT code, and saves on memory for the boot
image.

Test: profile_assistant_test
Change-Id: Id3831f72432cd3de2cb5971a30f96e55d1b5d087
2 files changed