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 9a68f2600e0f349fc73903d8fee2822da5576a16..e437f997b641c99bc9b08cdec7bcaf0162f992a6 100644 |
| --- a/runtime/vm/flow_graph_type_propagator.cc |
| +++ b/runtime/vm/flow_graph_type_propagator.cc |
| @@ -1328,4 +1328,35 @@ CompileType ExtractNthOutputInstr::ComputeType() const { |
| } |
| +CompileType BinaryUint32OpInstr::ComputeType() const { |
| + return CompileType::Int(); |
|
Vyacheslav Egorov (Google)
2014/07/07 16:16:03
On x64 it's actually CompileType::FromCid(kSmiCid)
Cutch
2014/07/07 22:34:28
Done.
|
| +} |
| + |
| + |
| +CompileType ShiftUint32OpInstr::ComputeType() const { |
| + return CompileType::Int(); |
| +} |
| + |
| + |
| +CompileType UnaryUint32OpInstr::ComputeType() const { |
| + return CompileType::Int(); |
| +} |
| + |
| + |
| +CompileType BoxUint32Instr::ComputeType() const { |
| + return CompileType::Int(); |
| +} |
| + |
| + |
| +bool BoxUint32Instr::RecomputeType() { |
|
Vyacheslav Egorov (Google)
2014/07/07 16:16:03
I am not sure why this is needed given that BoxUin
Cutch
2014/07/07 22:34:28
Done.
|
| + return UpdateType(ComputeType()); |
| +} |
| + |
| + |
| +CompileType UnboxUint32Instr::ComputeType() const { |
| + return CompileType::Int(); |
| +} |
| + |
| + |
| + |
| } // namespace dart |