diff options
| author | 2014-11-13 18:44:19 +0000 | |
|---|---|---|
| committer | 2014-11-13 18:44:20 +0000 | |
| commit | 7bdabab1b6a37248bcc0e16893e43f91b4218d29 (patch) | |
| tree | 5087b4d6062deba3e105d1fd49f17bc0ea73db4c /compiler/optimizing/builder.cc | |
| parent | 346bcbde27e4620ed1e7bce91728f22069a371f0 (diff) | |
| parent | 51d3fc40637fc73d4156ad617cd451b844cbb75e (diff) | |
Merge "Add support for int-to-byte in the optimizing compiler."
Diffstat (limited to 'compiler/optimizing/builder.cc')
| -rw-r--r-- | compiler/optimizing/builder.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/builder.cc b/compiler/optimizing/builder.cc index dddee2b90f..df3d57ebdf 100644 --- a/compiler/optimizing/builder.cc +++ b/compiler/optimizing/builder.cc @@ -1002,6 +1002,11 @@ bool HGraphBuilder::AnalyzeDexInstruction(const Instruction& instruction, uint32 break; } + case Instruction::INT_TO_BYTE: { + Conversion_12x(instruction, Primitive::kPrimInt, Primitive::kPrimByte); + break; + } + case Instruction::ADD_INT: { Binop_23x<HAdd>(instruction, Primitive::kPrimInt); break; |