diff options
author | Ian Rogers <irogers@google.com> | 2014-06-13 16:38:24 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-06-13 17:41:58 -0700 |
commit | 5aa6e04061ced68cca8111af1e9c19781b8a9c5d (patch) | |
tree | df6e23da05e2cab8c591ff420b0cd16a71f9dea6 /compiler/dex/quick/arm/codegen_arm.h | |
parent | b2192ffe6897da6bfd6165db7ce476cba1cd07ae (diff) | |
download | android_art-5aa6e04061ced68cca8111af1e9c19781b8a9c5d.tar.gz android_art-5aa6e04061ced68cca8111af1e9c19781b8a9c5d.tar.bz2 android_art-5aa6e04061ced68cca8111af1e9c19781b8a9c5d.zip |
Tidy x86 assembler.
Use helper functions to compute when the kind has a SIB, a ModRM and RegReg
form.
Change-Id: I86a5cb944eec62451c63281265e6974cd7a08e07
Diffstat (limited to 'compiler/dex/quick/arm/codegen_arm.h')
-rw-r--r-- | compiler/dex/quick/arm/codegen_arm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/quick/arm/codegen_arm.h b/compiler/dex/quick/arm/codegen_arm.h index 8db7d4ee73..95bcfbd0fc 100644 --- a/compiler/dex/quick/arm/codegen_arm.h +++ b/compiler/dex/quick/arm/codegen_arm.h @@ -87,7 +87,7 @@ class ArmMir2Lir FINAL : public Mir2Lir { std::string BuildInsnString(const char* fmt, LIR* lir, unsigned char* base_addr); ResourceMask GetPCUseDefEncoding() const OVERRIDE; uint64_t GetTargetInstFlags(int opcode); - int GetInsnSize(LIR* lir); + size_t GetInsnSize(LIR* lir) OVERRIDE; bool IsUnconditionalBranch(LIR* lir); // Check support for volatile load/store of a given size. |