| 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 | |
| 1989 void set_induction_variable_info(InductionVariableInfo* info) { | 1987 void set_induction_variable_info(InductionVariableInfo* info) { |
| 1990 loop_variable_info_ = info; | 1988 loop_variable_info_ = info; |
| 1991 } | 1989 } |
| 1992 | 1990 |
| 1993 InductionVariableInfo* induction_variable_info() { | 1991 InductionVariableInfo* induction_variable_info() { |
| 1994 return loop_variable_info_; | 1992 return loop_variable_info_; |
| 1995 } | 1993 } |
| 1996 | 1994 |
| 1997 PRINT_TO_SUPPORT | 1995 PRINT_TO_SUPPORT |
| 1998 | 1996 |
| (...skipping 6292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8291 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ | 8289 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ |
| 8292 UNIMPLEMENTED(); \ | 8290 UNIMPLEMENTED(); \ |
| 8293 return NULL; \ | 8291 return NULL; \ |
| 8294 } \ | 8292 } \ |
| 8295 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8293 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
| 8296 | 8294 |
| 8297 | 8295 |
| 8298 } // namespace dart | 8296 } // namespace dart |
| 8299 | 8297 |
| 8300 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8298 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |