summaryrefslogtreecommitdiff
path: root/compiler/optimizing/stack_map_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2017-10-30 17:48:25 +0000
committer Vladimir Marko <vmarko@google.com> 2019-05-13 15:36:23 +0000
commitd456117108c1efad790808698787868813b428e2 (patch)
treed5785c40ad689dbd158fc52eed8b32c9ced967d5 /compiler/optimizing/stack_map_test.cc
parentba2531826613a21736dd170d09877d3eb7990c5d (diff)
ART: Mark StringBuilder.append()s as intrinsics.
We do not actually emit intrinsic implementations for these methods but we use this designation to simplify their use knowing that they "return this". This also prepares for recognizing and optimizing the StringBuilder append pattern. Note that intrinsics are never inlined but these methods are defined in core-oj and therefore the rest of the boot image and prebuilts are not allowed to inline them anyway. Boot image sizes for aosp_taimen-userdebug: - before: arm/boot*.oat: 19756400 arm64/boot*.oat: 23415656 - after: arm/boot*.oat: 19653872 (-100KiB) arm64/boot*.oat: 23292784 (-120KiB) Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Test: aosp_taimen-userdebug boots Test: run-gtests.sh Test: testrunner.py --target --optimizing Bug: 19575890 Change-Id: I2f3bac17830ac1c51287b090a96facddd3d09f5c
Diffstat (limited to 'compiler/optimizing/stack_map_test.cc')
0 files changed, 0 insertions, 0 deletions