| Index: runtime/vm/flow_graph_type_propagator.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_type_propagator.cc (revision 37654)
|
| +++ runtime/vm/flow_graph_type_propagator.cc (working copy)
|
| @@ -1043,10 +1043,18 @@
|
|
|
|
|
| CompileType BoxIntegerInstr::ComputeType() const {
|
| + if (is_smi()) {
|
| + return CompileType::FromCid(kSmiCid);
|
| + }
|
| return CompileType::Int();
|
| }
|
|
|
|
|
| +bool BoxIntegerInstr::RecomputeType() {
|
| + return UpdateType(ComputeType());
|
| +}
|
| +
|
| +
|
| CompileType UnboxIntegerInstr::ComputeType() const {
|
| return CompileType::Int();
|
| }
|
|
|