| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ | 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ |
| 6 #define VM_INTERMEDIATE_LANGUAGE_H_ | 6 #define VM_INTERMEDIATE_LANGUAGE_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/ast.h" | 9 #include "vm/ast.h" |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 1966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1977 | 1977 |
| 1978 void set_reaching_defs(BitVector* reaching_defs) { | 1978 void set_reaching_defs(BitVector* reaching_defs) { |
| 1979 reaching_defs_ = reaching_defs; | 1979 reaching_defs_ = reaching_defs; |
| 1980 } | 1980 } |
| 1981 | 1981 |
| 1982 virtual bool MayThrow() const { return false; } | 1982 virtual bool MayThrow() const { return false; } |
| 1983 | 1983 |
| 1984 // A phi is redundant if all input operands are the same. | 1984 // A phi is redundant if all input operands are the same. |
| 1985 bool IsRedundant() const; | 1985 bool IsRedundant() const; |
| 1986 | 1986 |
| 1987 bool HasReplacement(Definition** replacement) const; |
| 1988 |
| 1987 void set_induction_variable_info(InductionVariableInfo* info) { | 1989 void set_induction_variable_info(InductionVariableInfo* info) { |
| 1988 loop_variable_info_ = info; | 1990 loop_variable_info_ = info; |
| 1989 } | 1991 } |
| 1990 | 1992 |
| 1991 InductionVariableInfo* induction_variable_info() { | 1993 InductionVariableInfo* induction_variable_info() { |
| 1992 return loop_variable_info_; | 1994 return loop_variable_info_; |
| 1993 } | 1995 } |
| 1994 | 1996 |
| 1995 PRINT_TO_SUPPORT | 1997 PRINT_TO_SUPPORT |
| 1996 | 1998 |
| (...skipping 6292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8289 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ | 8291 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ |
| 8290 UNIMPLEMENTED(); \ | 8292 UNIMPLEMENTED(); \ |
| 8291 return NULL; \ | 8293 return NULL; \ |
| 8292 } \ | 8294 } \ |
| 8293 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8295 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
| 8294 | 8296 |
| 8295 | 8297 |
| 8296 } // namespace dart | 8298 } // namespace dart |
| 8297 | 8299 |
| 8298 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8300 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |