OSDN Git Service

Thumb2: Reduce memory used for fixup dependencies.
authorVladimir Marko <vmarko@google.com>
Mon, 25 Apr 2016 12:43:50 +0000 (12:43 +0000)
committerVladimir Marko <vmarko@google.com>
Tue, 26 Apr 2016 08:54:24 +0000 (09:54 +0100)
commitf2bb04304ab545ecef67fc6b8708e3ad41a6005f
tree6137651a8b0310b0632f95e3ce9b16f4ae7dd3f4
parentff2d53a16d844054874e41a98e2984e2818ee210
Thumb2: Reduce memory used for fixup dependencies.

Mark fixups for far backward branches as 32-bit from the
beginning and ignore their dependencies since they cannot
be expanded anymore. This reduces the memory used by the
fixup_dependents_ when compiling methods with a lot of
slow paths.

Bug: 28256882

This is a cherry-pick of the fixed revert-revert
    Revert "Revert "Thumb2: Reduce memory used for fixup dependencies.""
    (cherry picked from commit a64f249add4a0a9e93aa6f246045ca79f5916dcd)

Change-Id: I9ca766b73d9f5a1da5dc10ad070145ac88fbcd53
compiler/utils/arm/assembler_thumb2.cc
compiler/utils/arm/assembler_thumb2.h
compiler/utils/arm/assembler_thumb2_test.cc