diff options
author | Ian Rogers <irogers@google.com> | 2014-10-08 15:35:22 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-10-08 16:00:31 -0700 |
commit | 832336b3c9eb892045a8de1bb12c9361112ca3c5 (patch) | |
tree | 0e8696869a28ee0dee34d130b586b1bf6f072d6e /compiler/dex/quick/arm/codegen_arm.h | |
parent | f1f05d303988a5c071c87b760056be8358276c94 (diff) | |
download | android_art-832336b3c9eb892045a8de1bb12c9361112ca3c5.tar.gz android_art-832336b3c9eb892045a8de1bb12c9361112ca3c5.tar.bz2 android_art-832336b3c9eb892045a8de1bb12c9361112ca3c5.zip |
Don't copy fill array data to quick literal pool.
Currently quick copies the fill array data from the dex file to the literal
pool. It then has to go through hoops to pass this PC relative address down
to out-of-line code. Instead, pass the offset of the table to the out-of-line
code and use the CodeItem data associated with the ArtMethod. This reduces
the size of oat code while greatly simplifying it.
Unify the FillArrayData implementation in quick, portable and the interpreters.
Change-Id: I9c6971cf46285fbf197856627368c0185fdc98ca
Diffstat (limited to 'compiler/dex/quick/arm/codegen_arm.h')
-rw-r--r-- | compiler/dex/quick/arm/codegen_arm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/dex/quick/arm/codegen_arm.h b/compiler/dex/quick/arm/codegen_arm.h index 932dd87923..1c87a0386c 100644 --- a/compiler/dex/quick/arm/codegen_arm.h +++ b/compiler/dex/quick/arm/codegen_arm.h @@ -118,7 +118,6 @@ class ArmMir2Lir FINAL : public Mir2Lir { void GenEntrySequence(RegLocation* ArgLocs, RegLocation rl_method); void GenExitSequence(); void GenSpecialExitSequence(); - void GenFillArrayData(MIR* mir, DexOffset table_offset, RegLocation rl_src); void GenFusedFPCmpBranch(BasicBlock* bb, MIR* mir, bool gt_bias, bool is_double); void GenFusedLongCmpBranch(BasicBlock* bb, MIR* mir); void GenSelect(BasicBlock* bb, MIR* mir); |