diff options
author | 2014-12-05 12:08:39 +0000 | |
---|---|---|
committer | 2014-12-05 12:08:40 +0000 | |
commit | abb3977bf924b923b45ae234a48be739035bbd32 (patch) | |
tree | 15a9480c654adbbf77e15a9804eb7777a76bac22 /compiler/optimizing/builder.cc | |
parent | 355e3b1cc67c263268289021268109ae5432537a (diff) | |
parent | 4c0b61f506644bb6b647be05d02c5fb45b9ceb48 (diff) |
Merge "Add support for double-to-int & double-to-long in optimizing."
Diffstat (limited to 'compiler/optimizing/builder.cc')
-rw-r--r-- | compiler/optimizing/builder.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/compiler/optimizing/builder.cc b/compiler/optimizing/builder.cc index 9561054b69..ca72f3f242 100644 --- a/compiler/optimizing/builder.cc +++ b/compiler/optimizing/builder.cc @@ -1306,6 +1306,16 @@ bool HGraphBuilder::AnalyzeDexInstruction(const Instruction& instruction, uint32 break; } + case Instruction::DOUBLE_TO_INT: { + Conversion_12x(instruction, Primitive::kPrimDouble, Primitive::kPrimInt, dex_pc); + break; + } + + case Instruction::DOUBLE_TO_LONG: { + Conversion_12x(instruction, Primitive::kPrimDouble, Primitive::kPrimLong, dex_pc); + break; + } + case Instruction::DOUBLE_TO_FLOAT: { Conversion_12x(instruction, Primitive::kPrimDouble, Primitive::kPrimFloat, dex_pc); break; |