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 2568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2579 UNREACHABLE(); | 2579 UNREACHABLE(); |
2580 return false; | 2580 return false; |
2581 } | 2581 } |
2582 | 2582 |
2583 Value* value() const { return inputs_[0]; } | 2583 Value* value() const { return inputs_[0]; } |
2584 Range* constraint() const { return constraint_; } | 2584 Range* constraint() const { return constraint_; } |
2585 | 2585 |
2586 virtual void InferRange(RangeAnalysis* analysis, Range* range); | 2586 virtual void InferRange(RangeAnalysis* analysis, Range* range); |
2587 | 2587 |
2588 // Constraints for branches have their target block stored in order | 2588 // Constraints for branches have their target block stored in order |
2589 // to find the the comparsion that generated the constraint: | 2589 // to find the comparison that generated the constraint: |
2590 // target->predecessor->last_instruction->comparison. | 2590 // target->predecessor->last_instruction->comparison. |
2591 void set_target(TargetEntryInstr* target) { | 2591 void set_target(TargetEntryInstr* target) { |
2592 target_ = target; | 2592 target_ = target; |
2593 } | 2593 } |
2594 TargetEntryInstr* target() const { | 2594 TargetEntryInstr* target() const { |
2595 return target_; | 2595 return target_; |
2596 } | 2596 } |
2597 | 2597 |
2598 PRINT_OPERANDS_TO_SUPPORT | 2598 PRINT_OPERANDS_TO_SUPPORT |
2599 | 2599 |
(...skipping 5655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8255 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ | 8255 LocationSummary* Name::MakeLocationSummary(Zone* zone, bool opt) const { \ |
8256 UNIMPLEMENTED(); \ | 8256 UNIMPLEMENTED(); \ |
8257 return NULL; \ | 8257 return NULL; \ |
8258 } \ | 8258 } \ |
8259 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } | 8259 void Name::EmitNativeCode(FlowGraphCompiler* compiler) { UNIMPLEMENTED(); } |
8260 | 8260 |
8261 | 8261 |
8262 } // namespace dart | 8262 } // namespace dart |
8263 | 8263 |
8264 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 8264 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
OLD | NEW |