| 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 6972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6983 | 6983 |
| 6984 virtual void InferRange(RangeAnalysis* analysis, Range* range); | 6984 virtual void InferRange(RangeAnalysis* analysis, Range* range); |
| 6985 | 6985 |
| 6986 virtual Definition* Canonicalize(FlowGraph* flow_graph); | 6986 virtual Definition* Canonicalize(FlowGraph* flow_graph); |
| 6987 | 6987 |
| 6988 virtual Representation representation() const { | 6988 virtual Representation representation() const { |
| 6989 return kUnboxedInt32; | 6989 return kUnboxedInt32; |
| 6990 } | 6990 } |
| 6991 | 6991 |
| 6992 virtual Representation RequiredInputRepresentation(intptr_t idx) const { | 6992 virtual Representation RequiredInputRepresentation(intptr_t idx) const { |
| 6993 ASSERT(idx == 0 || idx == 1); | 6993 ASSERT((idx == 0) || (idx == 1)); |
| 6994 return kUnboxedInt32; | 6994 return kUnboxedInt32; |
| 6995 } | 6995 } |
| 6996 | 6996 |
| 6997 virtual intptr_t DeoptimizationTarget() const { | 6997 virtual intptr_t DeoptimizationTarget() const { |
| 6998 // Direct access since this instruction cannot deoptimize, and the deopt-id | 6998 // Direct access since this instruction cannot deoptimize, and the deopt-id |
| 6999 // was inherited from another instruction that could deoptimize. | 6999 // was inherited from another instruction that could deoptimize. |
| 7000 return deopt_id_; | 7000 return deopt_id_; |
| 7001 } | 7001 } |
| 7002 | 7002 |
| 7003 virtual bool MayThrow() const { return false; } | 7003 virtual bool MayThrow() const { return false; } |
| (...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8399 Isolate* isolate, bool opt) const { \ | 8399 Isolate* isolate, bool opt) const { \ |
| 8400 UNIMPLEMENTED(); \ | 8400 UNIMPLEMENTED(); \ |
| 8401 return NULL; \ | 8401 return NULL; \ |
| 8402 } \ | 8402 } \ |
| 8403 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8403 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
| 8404 | 8404 |
| 8405 | 8405 |
| 8406 } // namespace dart | 8406 } // namespace dart |
| 8407 | 8407 |
| 8408 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8408 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |