Chromium Code Reviews| Index: runtime/vm/intermediate_language.cc |
| =================================================================== |
| --- runtime/vm/intermediate_language.cc (revision 32376) |
| +++ runtime/vm/intermediate_language.cc (working copy) |
| @@ -1419,6 +1419,11 @@ |
| } |
| +Definition* MathUnaryInstr::Canonicalize(FlowGraph* flow_graph) { |
| + return HasUses() ? this : NULL; |
| +} |
| + |
| + |
| Definition* LoadFieldInstr::Canonicalize(FlowGraph* flow_graph) { |
| if (!HasUses()) return NULL; |
| if (!IsImmutableLengthLoad()) return this; |