Chromium Code Reviews| Index: runtime/vm/flow_graph_type_propagator.cc |
| diff --git a/runtime/vm/flow_graph_type_propagator.cc b/runtime/vm/flow_graph_type_propagator.cc |
| index e83951c28cfc82f5d0bbaa881f51917dd83c10b9..2134ae6b2df1692b3847d36dc6be87419a15f26a 100644 |
| --- a/runtime/vm/flow_graph_type_propagator.cc |
| +++ b/runtime/vm/flow_graph_type_propagator.cc |
| @@ -1302,4 +1302,20 @@ CompileType MergedMathInstr::ComputeType() const { |
| } |
| } |
| + |
| +CompileType MergedMath2Instr::ComputeType() const { |
| + return CompileType::Dynamic(); |
| +} |
| + |
| + |
| +CompileType ExtractNthOutputInstr::ComputeType() const { |
| + if (representation() == kUnboxedDouble) { |
| + return CompileType::FromCid(kDoubleCid); |
| + } else { |
| + ASSERT(representation() == kTagged); |
| + return CompileType::FromCid(kSmiCid); |
|
Florian Schneider
2014/04/04 11:52:46
This relies on the the instruction where the outpu
Cutch
2014/04/04 16:34:46
Done.
|
| + } |
| +} |
| + |
| + |
| } // namespace dart |