| Index: runtime/vm/intermediate_language.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language.cc (revision 13224)
|
| +++ runtime/vm/intermediate_language.cc (working copy)
|
| @@ -1202,31 +1202,37 @@
|
| }
|
|
|
|
|
| -RawAbstractType* UnboxedMintBinaryOpInstr::CompileType() const {
|
| +RawAbstractType* BinaryMintOpInstr::CompileType() const {
|
| return Type::IntType();
|
| }
|
|
|
|
|
| -intptr_t UnboxedMintBinaryOpInstr::ResultCid() const {
|
| +intptr_t BinaryMintOpInstr::ResultCid() const {
|
| return kDynamicCid;
|
| }
|
|
|
|
|
| -RawAbstractType* UnboxedMintUnaryOpInstr::CompileType() const {
|
| +RawAbstractType* UnaryMintOpInstr::CompileType() const {
|
| return Type::IntType();
|
| }
|
|
|
|
|
| -intptr_t UnboxedMintUnaryOpInstr::ResultCid() const {
|
| +intptr_t UnaryMintOpInstr::ResultCid() const {
|
| return kDynamicCid;
|
| }
|
|
|
|
|
| -RawAbstractType* UnboxedDoubleBinaryOpInstr::CompileType() const {
|
| +RawAbstractType* BinaryDoubleOpInstr::CompileType() const {
|
| return Type::Double();
|
| }
|
|
|
|
|
| +intptr_t BinaryDoubleOpInstr::ResultCid() const {
|
| + // The output is not an instance but when it is boxed it becomes double.
|
| + return kDoubleCid;
|
| +}
|
| +
|
| +
|
| RawAbstractType* MathSqrtInstr::CompileType() const {
|
| return Type::Double();
|
| }
|
|
|