diff options
| author | 2020-04-08 12:56:45 +0100 | |
|---|---|---|
| committer | 2020-04-09 11:23:00 +0000 | |
| commit | 2f40d24aea4b9b2726c994de71b17ae2f82e9238 (patch) | |
| tree | 75194271dac88df6183b8e8034298942d74bc12b /compiler/optimizing/loop_optimization.cc | |
| parent | 605c5914b9561c67b4e8b142715410a569f9ca45 (diff) | |
Small cleanup in InstructionBuilder.
Refactor BuildInvoke() to reduce runtime state transitions
(fewer ScopedObjectAccess objects) and separate the class
init check for static methods from the instruction creation
in preparation for allocating replacement instructions for
intrinsics such as Math.abs().
Delay Handle<> creation in ProcessClinitCheckForInvoke until
it's actually needed. Change function parameters to ObjPtr<>
instead of Handle<> if they cannot cause thread suspension.
Test: aosp_taimen-userdebug boots.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: I8d5ebf5db76f0c8b1fec790a2f8621818d64b4dc
Diffstat (limited to 'compiler/optimizing/loop_optimization.cc')
0 files changed, 0 insertions, 0 deletions