Chromium Code Reviews| Index: runtime/vm/flow_graph_type_propagator.cc |
| =================================================================== |
| --- runtime/vm/flow_graph_type_propagator.cc (revision 29901) |
| +++ runtime/vm/flow_graph_type_propagator.cc (working copy) |
| @@ -809,28 +809,22 @@ |
| } |
| +CompileType TestSmiInstr::ComputeType() const { |
| + return CompileType::Bool(); |
| +} |
| + |
|
srdjan
2013/11/05 18:30:34
one more line
Florian Schneider
2013/11/06 12:13:42
Done.
|
| CompileType EqualityCompareInstr::ComputeType() const { |
| // Used for numeric comparisons only. |
| return CompileType::Bool(); |
| } |
| -bool EqualityCompareInstr::RecomputeType() { |
| - return UpdateType(ComputeType()); |
| -} |
| - |
| - |
| CompileType RelationalOpInstr::ComputeType() const { |
| // Used for numeric comparisons only. |
| return CompileType::Bool(); |
| } |
| -bool RelationalOpInstr::RecomputeType() { |
| - return UpdateType(ComputeType()); |
| -} |
| - |
| - |
| CompileType CurrentContextInstr::ComputeType() const { |
| return CompileType::FromCid(kContextCid); |
| } |