commit | 5aa6e04061ced68cca8111af1e9c19781b8a9c5d | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Fri Jun 13 16:38:24 2014 -0700 |
committer | Ian Rogers <irogers@google.com> | Fri Jun 13 17:41:58 2014 -0700 |
tree | df6e23da05e2cab8c591ff420b0cd16a71f9dea6 | |
parent | b2192ffe6897da6bfd6165db7ce476cba1cd07ae [diff] [blame] |
Tidy x86 assembler. Use helper functions to compute when the kind has a SIB, a ModRM and RegReg form. Change-Id: I86a5cb944eec62451c63281265e6974cd7a08e07
diff --git a/compiler/dex/quick/arm64/assemble_arm64.cc b/compiler/dex/quick/arm64/assemble_arm64.cc index 2c4f262..9362147 100644 --- a/compiler/dex/quick/arm64/assemble_arm64.cc +++ b/compiler/dex/quick/arm64/assemble_arm64.cc
@@ -887,7 +887,7 @@ CreateNativeGcMap(); } -int Arm64Mir2Lir::GetInsnSize(LIR* lir) { +size_t Arm64Mir2Lir::GetInsnSize(LIR* lir) { ArmOpcode opcode = UNWIDE(lir->opcode); DCHECK(!IsPseudoLirOp(opcode)); return EncodingMap[opcode].size;