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/mips/assemble_mips.cc b/compiler/dex/quick/mips/assemble_mips.cc index b26ab57..c7e9190 100644 --- a/compiler/dex/quick/mips/assemble_mips.cc +++ b/compiler/dex/quick/mips/assemble_mips.cc
@@ -709,7 +709,7 @@ return res; } -int MipsMir2Lir::GetInsnSize(LIR* lir) { +size_t MipsMir2Lir::GetInsnSize(LIR* lir) { DCHECK(!IsPseudoLirOp(lir->opcode)); return EncodingMap[lir->opcode].size; }