diff options
| author | 2014-12-03 16:04:28 +0000 | |
|---|---|---|
| committer | 2014-12-03 16:04:28 +0000 | |
| commit | 9a64a46e8edfa89402598d8650b8ebb337ba3d52 (patch) | |
| tree | 78b29260bf542f7a21ed072425aa125a2ccffbf8 /compiler/optimizing/builder.cc | |
| parent | add2f944284992106cd9a1f1df93a17d666eaaf6 (diff) | |
| parent | 3f8f936aff35f29d86183d31c20597ea17e9789d (diff) | |
Merge "Add support for float-to-int 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 23c3b390c0..eb6181c711 100644 --- a/compiler/optimizing/builder.cc +++ b/compiler/optimizing/builder.cc @@ -1108,6 +1108,11 @@ bool HGraphBuilder::AnalyzeDexInstruction(const Instruction& instruction, uint32 break; } + case Instruction::FLOAT_TO_INT: { + Conversion_12x(instruction, Primitive::kPrimFloat, Primitive::kPrimInt); + break; + } + case Instruction::INT_TO_BYTE: { Conversion_12x(instruction, Primitive::kPrimInt, Primitive::kPrimByte); break; |